Sending · POST
sendInteractiveButtons
Send reply buttons. On numbers with Interactive menus turned on (Beta), they are delivered as a tap-to-choose menu, because current WhatsApp apps hide classic buttons sent through unofficial APIs.
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/sendInteractiveButtons/{apiTokenInstance}Request body
{
"chatId": "972501234567@c.us",
"header": "",
"body": "Confirm your order?",
"footer": "",
"buttons": [
{
"buttonId": "1",
"type": "reply",
"buttonText": "Yes"
},
{
"buttonId": "2",
"type": "reply",
"buttonText": "No"
}
]
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/sendInteractiveButtons/{apiTokenInstance}" \
-H "Content-Type: application/json" \
-d '{"chatId":"972501234567@c.us","header":"","body":"Confirm your order?","footer":"","buttons":[{"buttonId":"1","type":"reply","buttonText":"Yes"},{"buttonId":"2","type":"reply","buttonText":"No"}]}'Response
{
"idMessage": "3EB0…"
}Notes
- Turn it on in the console: open the number → Settings → Interactive menus (the number re-links once; token and settings stay the same).
- Up to 10 reply buttons. Link, call and copy buttons are not supported; put links or phone numbers in the text.
- A tap arrives as incomingMessageReceived with typeMessage buttonsResponseMessage: selectedButtonId is your buttonId.
More sending methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.