Skip to main content
POST
Create Ticket

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to create a new ticket.

title
string
required

Ticket title

Required string length: 3 - 255
message
string
required

Initial message

Required string length: 10 - 4000
media_type
string | null

Media type: photo, video, document

media_file_id
string | null

Telegram file_id of uploaded media

media_caption
string | null

Media caption

Maximum string length: 1000

Response

Successful Response

Ticket with all messages.

id
integer
required
title
string
required
status
string
required
priority
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
closed_at
string<date-time> | null
is_reply_blocked
boolean
default:false
messages
TicketMessageResponse · object[]