Attachments
Download Support Attachment
Streams a ticket attachment's file. The lookup is scoped to the active tenant: the attachment must belong to one of this account's tickets that the caller can view, and it must sit on a public message — files attached to internal notes, and files no longer attached to any message, are not visible here and return 404 exactly as a non-existent attachment does. The response is the raw file (`Content-Type` matches the attachment's stored media type, `Content-Disposition: attachment` with its original filename) — not JSON.
Download Agent Ticket Attachment
The agent console's path for the same file. It has no tenant context — the attachment is looked up across every account — and it covers every attachment on the ticket, including files on internal notes and files that are no longer attached to a message. Use this route from the console; the customer route only serves public-message files within one account. The response is the raw file (`Content-Type` matches the stored media type, `Content-Disposition: attachment` with the original filename), not JSON.