Skip to main content
POST
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

Idempotency-Key
string
required
Required string length: 8 - 128

Path Parameters

ticketID
string<uuid>
required

Body

application/json
body
string
required
Required string length: 1 - 4000
cannedResponseId
string<uuid>

Response

Message

id
integer<int64>
required
sender
enum<string>
required
Available options:
customer,
operator,
system
body
string
required
delivered
boolean
required

Telegram accepted the push.

createdAt
string<date-time>
required
attachments
object[]
required
authorName
string
delivery
enum<string>

The push outcome for an operator or system message, absent on a customer message. undeliverable means the customer blocked the bot, deleted their account, or has no Telegram identity; they read the message in the web panel.

Available options:
queued,
retrying,
delivered,
undeliverable,
failed
deliveryReason
string

The classified code behind an undeliverable, failed, or retrying push.