Send Interactive Messages on WhatsApp
Learn how to send button messages and list messages on WhatsApp from SendSeven. Create engaging conversational experiences with quick, tappable answers.
Prerequisites
Connected WhatsApp Channel
Complete the WhatsApp Setup Guide Connect WhatsApp Business API
Active Conversation
Within 24-hour messaging window, OR an approved template
API Key (for API usage)
Generate at Settings → API Tokens Settings → API Tokens
24-Hour Session Window
Understanding Interactive Messages
WhatsApp supports two types of interactive messages:
Button Messages
Quick reply buttons for simple choices. Up to 3 buttons per message.
- • Best for: Yes/No, Confirm/Cancel
- • Max buttons: 3
- • Max button title: 20 characters
List Messages
Expandable menu with categorized options. Up to 10 items across sections.
- • Best for: Menus, catalogs, multi-choice
- • Max sections: 10
- • Max rows total: 10
Method 1: Using the Dashboard UI
Open a Conversation
Navigate to Conversations and open an active WhatsApp conversation. Make sure the conversation is within the 24-hour window (you'll see a green indicator).
Click the Interactive Message Button
In the message composer, click the grid icon (⊞) to open the interactive message builder. This opens a form where you can configure your message.
Select Message Type
Choose between Button Message or List Message. The form will update to show the relevant fields for your selected type.
Configure Your Message
Fill in the message details:
- Header (optional): Text or image header
- Body: Main message text
- Footer (optional): Small text below the body
- Buttons/List Items: Configure your interactive elements
Preview and Send
Review the preview on the right side of the builder, then click Send. The message will be delivered to the customer immediately.
Method 2: Using the API
Sending Button Messages
Button messages are perfect for simple choices like confirmations:
const response = await fetch('https://api.sendseven.com/api/v1/messages/send/interactive', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
channel_id: 'channel_wa_001',
contact_id: 'contact_xyz789',
type: 'buttons',
body: 'Would you like to proceed with your order?',
buttons: [
{ id: 'confirm', title: 'Yes, confirm' },
{ id: 'cancel', title: 'No, cancel' }
]
})
});Show Python example
import requests
response = requests.post(
'https://api.sendseven.com/api/v1/messages/send/interactive',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'channel_id': 'channel_wa_001',
'contact_id': 'contact_xyz789',
'type': 'buttons',
'body': 'Would you like to proceed with your order?',
'buttons': [
{'id': 'confirm', 'title': 'Yes, confirm'},
{'id': 'cancel', 'title': 'No, cancel'}
]
}
)Show cURL example
curl -X POST 'https://api.sendseven.com/api/v1/messages/send/interactive' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"channel_id": "channel_wa_001",
"contact_id": "contact_xyz789",
"type": "buttons",
"body": "Would you like to proceed with your order?",
"buttons": [
{"id": "confirm", "title": "Yes, confirm"},
{"id": "cancel", "title": "No, cancel"}
]
}'Sending List Messages
List messages are ideal for menus, service catalogs, or multiple options:
const response = await fetch('https://api.sendseven.com/api/v1/messages/send/interactive', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
channel_id: 'channel_wa_001',
contact_id: 'contact_xyz789',
type: 'list',
header: { type: 'text', text: 'Select a Service' },
body: 'Choose from our available services:',
footer: 'Tap to see options',
button_text: 'View Services',
sections: [
{
title: 'Support',
rows: [
{ id: 'tech_support', title: 'Technical Support', description: 'Get help with technical issues' },
{ id: 'billing', title: 'Billing Inquiry', description: 'Questions about your bill' }
]
},
{
title: 'Sales',
rows: [
{ id: 'demo', title: 'Request Demo', description: 'Schedule a product demo' },
{ id: 'pricing', title: 'Get Pricing', description: 'Request a custom quote' }
]
}
]
})
});Show Python example
import requests
response = requests.post(
'https://api.sendseven.com/api/v1/messages/send/interactive',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'channel_id': 'channel_wa_001',
'contact_id': 'contact_xyz789',
'type': 'list',
'header': {'type': 'text', 'text': 'Select a Service'},
'body': 'Choose from our available services:',
'footer': 'Tap to see options',
'button_text': 'View Services',
'sections': [
{
'title': 'Support',
'rows': [
{'id': 'tech_support', 'title': 'Technical Support', 'description': 'Get help with technical issues'},
{'id': 'billing', 'title': 'Billing Inquiry', 'description': 'Questions about your bill'}
]
},
{
'title': 'Sales',
'rows': [
{'id': 'demo', 'title': 'Request Demo', 'description': 'Schedule a product demo'},
{'id': 'pricing', 'title': 'Get Pricing', 'description': 'Request a custom quote'}
]
}
]
}
)Handling User Responses
When a user clicks a button or selects a list item, you'll receive a webhook event:
// message.received, data.message when a user taps a button
{
"message_type": "interactive",
"text": "Yes, confirm",
"attachments": [
{
"type": "button_reply",
"button_id": "confirm",
"button_title": "Yes, confirm"
}
],
"meta": {
"button": { "id": "confirm", "payload": "confirm", "text": "Yes, confirm" }
}
}
// message.received, data.message when a user selects a list item
{
"message_type": "interactive",
"text": "Technical Support\nGet help with technical issues",
"attachments": [
{
"type": "list_reply",
"list_id": "tech_support",
"list_title": "Technical Support",
"list_description": "Get help with technical issues"
}
],
"meta": {
"button": {
"id": "tech_support",
"payload": "tech_support",
"text": "Technical Support",
"list_title": "Technical Support",
"list_description": "Get help with technical issues"
}
}
}Response Handling
Troubleshooting
"Session expired" error▼
The 24-hour messaging window has closed. The customer needs to send a message first, or you can use a message template to re-engage them.
Buttons not appearing▼
Check that:
- Button titles are 20 characters or less
- You have at most 3 buttons
- Each button has a unique ID
- The message body is not empty
List not expanding▼
Make sure button_text is set. It is the label on the button that opens the list.
Next Steps
Frequently Asked Questions
Why does my interactive message fail to send?
How many buttons can one message have, and how long may a label be?
Can I send buttons and lists on channels other than WhatsApp?
Do interactive messages need to be approved by Meta?
Do interactive messages work on a number connected through WhatsApp Coexistence?
How do I tell which button or list item a customer picked?
Can a Flow send interactive messages automatically?
Related Guides
Ready to get started?
Start with 100 test messages. Full access during the trial. No credit card required.