Messages

Reply to a buttons message by selecting a button

Emits the same ButtonsResponse payload WhatsApp produces when a user taps a quick-reply button, quoting the original buttons message. Useful for WUTS automations that programmatically answer an interactive buttons message on behalf of the session.

POST
/send/buttons-response

Emits the same ButtonsResponse payload WhatsApp produces when a user taps a quick-reply button, quoting the original buttons message. Useful for WUTS automations that programmatically answer an interactive buttons message on behalf of the session.

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/send/buttons-response" \  -H "Content-Type: application/json" \  -d '{    "to": "5511999999999",    "selected_button_id": "confirm_order",    "selected_display_text": "Confirm",    "quoted": {      "message_id": "3EB0XXXX1234567890ABCDEF",      "participant": "5511999999999@s.whatsapp.net",      "body": "How would you like to proceed with your order?"    }  }'
{  "success": true,  "message_id": "3EB0XXXX99887766554433FF",  "timestamp": "2026-06-15T14:34:50Z",  "message": "Buttons response sent successfully"}
{  "error": "invalid quoted participant JID: empty input"}
{  "error": "unauthorized"}
{  "error": "Failed to send buttons response: timeout"}