CorefinityCorefinityDocs
Open the Control PanelControl Panel
Support · 7 of 15

Download a ticket's file

Answers one file of the ticket or of one of its replies, with its name: the file itself, never cached. Anything else, such as another ticket's file, answers 404.

GET/api/support/tickets/{ticket}/attachments/{attachment}

Path parameters

ticketintegerRequired

The number of a ticket. Digits only. At least 1.

attachmentintegerRequired

The id of one of the ticket's files, as the ticket answers it. Digits only. At least 1.

Returns

200 The file.

Fields of the 200 answer

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403scope_requiredUse a token with the scope named in scope.
404noneCheck the id. You see only what your account can reach.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/support/tickets/48210/attachments/77120 \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
"string"
Try it

Try it is off for this endpointIt has not been cleared for the console. Copy the request and run it yourself when you are sure.

Was this helpful?
Open in ClaudeOpen in ChatGPT