Add Comment
POST /tickets/:ticket_id/comments/
Example URL
https://system_domain/api/v2/tickets/123/comments/
PATH Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | number | Yes | Technical ID of the ticket |
Request Body Parameters (form-data)
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Comment text |
user_id | number | No | Comment creator's ID; If not specified, the response will be sent on behalf of the API user |
files | array | No | Array of files (available only in form_data format) |
Example Request Body (form-data)
| Key | Value |
|---|---|
| text | "Hello!" |
| user_id | 2 |
Response Example:
Response Example
{
"data": {
"ticket_id": 1,
"id": 13770,
"user_id": 1,
"text": "Text",
"date_created": "09:01:54 21.11.2025",
"visible": "staff",
"files": [
{
"name": "1.jpg",
"url": "https://system_domain/ru/file/download/ae6e72725f0aac8933456b149a93a6f782bb6c5e",
"data_type": "jpg"
}
]
}
}