Skip to main content

Download Support Attachment

GET 

/api/support/attachments/:attachment/download

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.

Required scope: support:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Bearer token with the support:read scope, or an authenticated session. Requires the X-Tenant-Id header (or a tenant subdomain).

Request

Responses

OK

Response Headers
    Content-Type
    Content-Disposition