Create Unassociated Macro Attachment
POST {{baseUrl}}/api/v2/macros/attachments
Allows an attachment to be uploaded that can be associated with a macro at a later time.
Note: To ensure an uploaded attachment is not lost, associate it with a macro as soon as possible. From time to time, old attachments that are not not associated with any macro are purged.
Allowed For
- Agents
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: Created
{"macro_attachment":{"content_type":"image/jpeg","content_url":"https://company.zendesk.com/api/v2/macros/attachments/100/content","created_at":"2016-08-15T16:04:06Z","filename":"foobar.jpg","id":100,"size":2532}}