Download a Support-Ticket File

GET https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment/{attachmentId}/file

Downloads a GitHub Release file referenced by the ticket. Requires ticket read permission.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
ticketId path string yes Ticket ID
attachmentId path string yes Attachment ID

Responses

200 — Attachment bytes

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}/file' \
  -H "Authorization: Bearer $SUGER_TOKEN"

Response — 200

No response body.


View as Markdown · API reference overview

Spotted something wrong or out of date on this page? Tell us and we'll correct it.