Get Zendesk Ticket Attachments
get_ticket_attachmentsRetrieve Zendesk ticket attachments, showing images inline and listing other files as text references. Get all attachments for a ticket or specific attachment IDs to access support files.
Instructions
Retrieve ticket attachments. Images are embedded inline; other files are listed as text references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket_id | Yes | Ticket ID — the numeric id of the ticket whose attachments to fetch. Obtain it from search_tickets or list_tickets. | |
| attachment_ids | No | Attachment IDs to fetch directly (e.g. extracted from a previous list_ticket_comments or get_ticket(include_comments=true) call). When provided, skips the comments fetch entirely. When omitted, all attachments of the ticket are returned. |