Description
This endpoint allows you to send a simulated response to messages that contain interactive buttons. Useful for automations that need to interact with buttons sent by other contacts or systems.Body
Body Parameters
Property | Type | Required | Description |
---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the response |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: 5511999999999@s.whatsapp.net for contacts or 120363XXXXX@g.us for groups |
selectedButtonID | string | ✅ Yes | Selected button ID (rowId of the chosen option) |
selectedDisplayText | string | ✅ Yes | Display text of the selected button |
replyTo | string | ✅ Yes | Message ID with buttons that you are replying to |
Status Codes
200
- Response sent successfully400
- Invalid parameters401
- Unauthorized session404
- Session not found
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)