Send buttons
POST /v1/messages/buttons — up to three tappable buttons.
Notes
- 1 to 3 buttons. WhatsApp will not render more than three.
titleis required, up to 1,024 characters.description(up to 1,024) andfooter(up to 60) are optional.textis the button label, 1–24 characters, required on every button.
type needs one extra field:
reply, url and call are accepted. Sending anything else returns 400 invalid_request listing the allowed values.
Example
The response
Authorizations
Your API key, sent in an apikey request header. Never in the URL, never as a Bearer token.
Body
Which of your connected numbers to send FROM. Copy it from your numbers screen in the portal, or from GET /v1/instances. It must belong to your account.
"3f9c1a2b-7d4e-4c81-9f0a-2b6d5e8c1a34"
The recipient, with country code and no leading zero — for example 919876543210. Spaces, dashes, brackets and a leading + are accepted and stripped; 6 to 15 digits must remain.
"919876543210"
Heading of the message.
1 - 1024"Confirm your order"
1 to 3 buttons. WhatsApp will not render more than three.
1 - 3 elementsBody text under the title.
1024"Order #2043 — ₹1,299"
Small print under the buttons. Up to 60 characters.
60Send this message as a reply, quoting an earlier one. Use the data.message_id returned by a previous send.
128"3EB0C1D2F4A5B6C7D8E9"
Set true when the quoted message is one you sent from this number. Only valid together with quoted_message_id.

