Add Ticket Comment
Post a comment on an existing support ticket.
POST
/api/v1/tickets/comment/addDescription
Adds a message to the ticket thread.
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer <access_token> | Yes |
| Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticketId | string | Yes | Ticket ID or ticket number. |
| message | string | Yes | Comment text (non-empty). |
| senderApp | string | No | resolve-now or resolve-it (default resolve-it). |
Example Request Body
{
"ticketId": "674a1b2c3d4e5f6789012345",
"message": "Please expedite the return label.",
"senderApp": "resolve-it"
}Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the request succeeded. |
| message | string | Human-readable confirmation. |
| data | object | Created comment details. |
| data.comment_id | string | Comment ID. |
| data.sender_app | string | resolve-now or resolve-it. |
| data.sender_id | string | Opaque sender user ID. |
| data.sender_name | string | Display name of the comment author. |
| data.message | string | Comment text. |
| data.created_at | string | Comment timestamp (ISO 8601). |
| data.ticket_id | string | Parent ticket ID. |
| data.ticket_number | string | Parent ticket number. |
Related Endpoints
Did this page help you?
Request
curl -X POST https://uat.unduit.com/api-exposed/api/v1/tickets/comment/add \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"ticketId": "674a1b2c3d4e5f6789012345",
"message": "Please expedite the return label.",
"senderApp": "resolve-it"
}'Success Response
{
"success": true,
"message": "Comment added successfully",
"data": {
"comment_id": "674a1b2c3d4e5f6789012347",
"ticket_id": "674a1b2c3d4e5f6789012345",
"ticket_number": "10042",
"sender_app": "resolve-it",
"sender_id": "9119562-42",
"sender_name": "Jane Smith",
"message": "Please expedite the return label.",
"created_at": "2026-06-03T11:00:00.000Z"
}
}