Skip to content

List attachments

View as Markdown

GET/v1/tickets/{number}/attachmentsScope read

Files attached to a request and to its public comments.

Name Type Description
number required string Request number, such as GM-000123.

200 OK · data[]

Field Type Description
contentType string MIME type detected from the content.
createdAt date-time When it was created.
fileName string File name.
id integer Unique ID.
sizeBytes integer Size in bytes.
Example
{
"data": [
{
"id": 88,
"fileName": "vpn-client.log",
"contentType": "text/plain",
"sizeBytes": 48213,
"createdAt": "2026-12-06T14:30:00Z"
}
]
}

Errors share one shape; see Errors for every key.

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