Skip to content

Add a comment

View as Markdown

POST/v1/tickets/{number}/commentsScope write

Adds a public comment to a request on behalf of your integration. The assigned agents are notified as for any reply.

Name Type Description
number required string Request number, such as GM-000123.
Field Type Description
body required string Text of the comment. Plain text; line breaks are kept. 1 to 20000 characters.
Example
{
"body": "The issue is back after the restart. Attaching the client log."
}

201 Created · data

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"
}
}

Errors share one shape; see Errors for every key.

Terminal window
curl -X POST 'https://api.client.service-desk.goldmaster.io/v1/tickets/GM-000123/comments' \
-H "Authorization: Bearer $DUTY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "The issue is back after the restart. Attaching the client log."
}'