Skip to main content
POST
/
api
/
v1
/
messages
/
send
/
interactive
/
buttons
Send Button Message
curl --request POST \
  --url https://api.example.com/api/v1/messages/send/interactive/buttons \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "<string>",
  "body": "<string>",
  "buttons": [
    {
      "id": "<string>",
      "title": "<string>"
    }
  ],
  "whatsapp_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "run_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.wazzapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string | null

Body

application/json

Request to send a button reply message.

phone_number
string
required

Recipient phone number.

Required string length: 5 - 50
body
string
required

Primary interactive message body.

Required string length: 1 - 1024
buttons
InteractiveButton · object[]
required

Up to three quick-reply buttons.

Required array length: 1 - 3 elements
whatsapp_account_id
string<uuid>
required

Optional footer text shown under the buttons.

Maximum string length: 60
contact_id
string<uuid> | null

Response

Successful Response

Response from sending an interactive message.

success
boolean
required
message_id
string<uuid>
required
status
string
required
run_id
string | null