Skip to content

List comments

View as Markdown

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

The public conversation of a request, oldest first. Internal notes between agents are never returned.

Name Type Description
number required string Request number, such as GM-000123.
Name Type Description
page integer Page to return, from 1. At least 1. Default: 1.
perPage integer Items per page. From 1 to 100. Default: 25.

200 OK · data[] + pagination

Field Type Description
author object Who wrote it.
author.name string Name in the language of Accept-Language.
author.type string One of agent, contact, integration.
body string Text of the comment.
createdAt date-time When it was created.
id integer Unique ID.
Example
{
"data": [
{
"id": 512,
"body": "We replaced the VPN profile. Can you confirm it holds?",
"author": {
"type": "agent",
"name": "Luis Gómez"
},
"createdAt": "2026-12-06T15:40:00Z"
}
],
"pagination": {
"page": 1,
"perPage": 25,
"total": 1,
"totalPages": 1
}
}

Errors share one shape; see Errors for every key.

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