Skip to content

Download an attachment

View as Markdown

GET/v1/tickets/{number}/attachments/{attachmentId}/contentScope read

The content of an attachment, as a file.

Name Type Description
number required string Request number, such as GM-000123.
attachmentId required string ID of the attachment, from List attachments.

200 OK. The response is the file itself, with its Content-Type and a Content-Disposition attachment header.

Errors share one shape; see Errors for every key.

Terminal window
curl 'https://api.client.service-desk.goldmaster.io/v1/tickets/GM-000123/attachments/88/content' \
-H "Authorization: Bearer $DUTY_API_KEY" \
-o attachment.bin