Skip to main content
Node.js

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required
Pattern: ^[A-Za-z0-9_-]{8,128}$

Body

application/json
phoneNumber
string
required
Example:

"+910000000099"

text
string
required
Required string length: 1 - 4000

Response

Result. completed confirms engine acceptance; unknown must be inspected without retry.

state
enum<string>
required
Available options:
completed,
unknown
requestId
string
chatId
string
number
string
messageId
string | null
requiresOwnerChatGrant
boolean
replayed
boolean
error
string