Create Macro Attachment
POST {{baseUrl}}/api/v2/macros/:macro_id/attachments
Allows an attachment to be uploaded and associated with a macro at the same time.
Note: A macro can be associated with up to five attachments.
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}}