Skip to main content
POST

Authorizations

X-Api-Key
string
header
required

Instance or customer-level API key. Either the instance's own API key or the customer's API key is accepted. Must be paired with the X-Instance-Id header to identify the target instance.

Headers

X-Instance-Id
string
default:{{instanceId}}
required

The ID of the WhatsApp instance to use

Body

application/json
to
string
required
text
string
required

Message body

Maximum string length: 1024
buttons
object[]
required

Buttons to show. Types can be mixed. Reply button ids must be unique within the message.

Required array length: 1 - 3 elements
header
string

Optional header text shown above the body

Maximum string length: 60

Optional footer text shown below the body

Maximum string length: 60
aiLabel
boolean
default:false

Show WhatsApp's "AI" badge on the message. 1:1 chats only; ignored in groups.

Response

Resource created

id
string

ID of the created resource