Skip to main content
POST
/
cabinet
/
admin
/
tickets
/
{ticket_id}
/
reply
Reply To Ticket
curl --request POST \
  --url http://localhost:8080/cabinet/admin/tickets/{ticket_id}/reply \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>"
}
'
{
  "id": 123,
  "message_text": "<string>",
  "is_from_admin": true,
  "created_at": "2023-11-07T05:31:56Z",
  "has_media": false,
  "media_type": "<string>",
  "media_file_id": "<string>",
  "media_caption": "<string>"
}

Path Parameters

ticket_id
integer
required

Body

application/json

Admin reply to ticket.

message
string
required

Reply message

Required string length: 1 - 4000

Response

Successful Response

Ticket message data.

id
integer
required
message_text
string
required
is_from_admin
boolean
required
created_at
string<date-time>
required
has_media
boolean
default:false
media_type
string | null
media_file_id
string | null
media_caption
string | null