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.
support:readGrant 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
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthorized
Response Headers
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.