List Macro Attachments

GET {{baseUrl}}/api/v2/macros/:macro_id/attachments

Lists the attachments associated with a macro.

Allowed For

  • Agents

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"macro_attachments":[{"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},{"content_type":"image/jpeg","content_url":"https://company.zendesk.com/api/v2/macros/attachments/342/content","created_at":"2016-08-16T12:42:25Z","filename":"bazbat.jpg","id":342,"size":5028}]}