Get Zendesk Ticket Attachments
get_ticket_attachmentsFetch attachments for a Zendesk ticket using its ID. Images are embedded inline, and non-image files are listed as text references, making support files easy to find and access.
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. |