Download Support Ticket Attachment
GET https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment/{attachmentId}
Authenticated download of a support-ticket attachment (GitHub-Issues backend). Verifies the caller owns the org and the object lives under the org's key prefix, then redirects to a short-lived signed URL.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
ticketId | path | string | yes | Ticket ID |
attachmentId | path | string | yes | Attachment ID |
Responses
302 — Redirect to a short-lived download URL
Content-Type: application/octet-stream
404 — Not found
Content-Type: application/octet-stream
500 — Internal server error
Content-Type: application/octet-stream
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X GET 'https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment/{attachmentId}' \
-H 'Authorization: Bearer $SUGER_TOKEN' Error — 404
"string" View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.