POST
Test Inbound Webhook

Authorizations

Authorization
string
header
required

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

Body

application/json
channel
enum<string>
required
Available options:
phone_call,
whatsapp_call,
whatsapp_message,
telegram
number
string
required

Your number, as to.

Required string length: 1 - 64
peer
string
required

Theirs, as from.

Required string length: 1 - 64

Response

Successful Response

What your server answered to a sample session.request.

duration_ms
integer
required
errors
string[]
required
response
Response · object | null
required

The JSON object your server returned.

status_code
integer | null
required

Null when no HTTP response arrived.

valid
boolean
required

Whether a real session would have accepted this answer.