Get Zendesk Ticket Attachments
get_ticket_attachmentsRetrieve all attachments from a Zendesk ticket. Images display inline; other files are listed as text references. Provide a ticket ID to fetch.
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 get_ticket(include_comments=true) call). When provided, skips the comments fetch entirely. When omitted, all attachments of the ticket are returned. |