Send interactive message with list buttons
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the message |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
list | object | ✅ Yes | Object containing the button list information |
list.title | string | ✅ Yes | Message title |
list.description | string | ❌ No | Description or message body |
list.button | string | ✅ Yes | Button text that opens the list (example: “View options”) |
list.sections | array | ✅ Yes | Array of list sections |
list.sections[].title | string | ✅ Yes | Section title |
list.sections[].rows | array | ✅ Yes | Array of section rows (options) |
list.sections[].rows[].title | string | ✅ Yes | Option title |
list.sections[].rows[].description | string | ❌ No | Option description |
list.sections[].rows[].rowId | string | ✅ Yes | Unique option ID (used to identify the response) |
200 - Message with buttons sent successfully400 - Invalid parameters401 - Unauthorized session404 - Session not foundYour Wappfy API key (get it at dash.wappfy.com.br)
"How are you?"
"Tell us how are you please 🙏"
"If you have any questions, please send it in the chat"
[
{ "type": "reply", "text": "I am good!" },
{
"type": "call",
"text": "Call us",
"phoneNumber": "+1234567890"
},
{
"type": "copy",
"text": "Copy code",
"copyCode": "4321"
},
{
"type": "url",
"text": "How did you do that?",
"url": "https://wappfy.com.br"
}
]Session name (instanceName)
"my-session"