Attachments
Create a new Attachment
Changed onOAuth Scope
This endpoint requires the following OAuth scope manage_attachments.
Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.
post/attachment.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/attachment.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_attachments
Request body
Example request
{
"related_object_uuid": "123e4567-e2d6-438c-b5fd-23f94d0b0a5b",
"uuid": "123e4567-0a17-4196-9697-23f94950984b",
"created_by_staff_uuid": "123e4567-0a69-4b5b-9b47-23f94973bddb"
}Response
Success
Example response
{
"message": "OK"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking