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.

~20 minIntermediateAugust 31, 2026

Prerequisites

1

Connected WhatsApp Channel

Complete the WhatsApp Setup Guide Connect WhatsApp Business API

2

Active Conversation

Within 24-hour messaging window, OR an approved template

3

API Key (for API usage)

Generate at Settings → API Tokens Settings → API Tokens

24-Hour Session Window

Interactive messages can only be sent within WhatsApp's 24-hour session window. This window starts when a customer sends you a message. After 24 hours, you'll need to use a message template to re-engage.

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

1

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).

2

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.

3

Select Message Type

Choose between Button Message or List Message. The form will update to show the relevant fields for your selected type.

4

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
5

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:

JavaScript·Button Message Request
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
Python
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
Bash
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:

JavaScript·List Message Request
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
Python
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:

JSON·Webhook Response Payloads
// 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

Use the id field to identify which option the user selected. This allows you to trigger different workflows based on their choice.

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

Need help?

Get personalized help from our team

Frequently Asked Questions

Why does my interactive message fail to send?
Interactive messages only go out inside WhatsApp's 24-hour session window, which opens when the customer writes to you. Once it has closed the API returns a 422 error, and you need an approved message template to reach the contact again.
How many buttons can one message have, and how long may a label be?
Up to 3 reply buttons per message, with a maximum of 20 characters per button title. If a button does not show up, the title is usually too long, or two buttons share the same ID.
Can I send buttons and lists on channels other than WhatsApp?
Buttons also work on Messenger, Instagram, Telegram and Live Chat. List messages are supported on WhatsApp and Live Chat only. SMS and email support neither. The Channel Capabilities endpoint tells you what a specific channel accepts before you send.
Do interactive messages need to be approved by Meta?
No. Inside the 24-hour session window buttons and lists go out as ordinary messages, so nothing is submitted for review. Only message templates, which you need once the window has closed, go through Meta's approval.
Do interactive messages work on a number connected through WhatsApp Coexistence?
Yes. You can send buttons and lists from SendSeven while your team keeps answering from the WhatsApp Business App on the phone, because Coexistence runs the app and the API in parallel on the same number.
How do I tell which button or list item a customer picked?
The message.received webhook carries the ID you set when you built the message, in meta.button.id for buttons and list items alike. Use that ID to branch into the right follow-up.
Can a Flow send interactive messages automatically?
Yes. A Flow sends WhatsApp buttons and lists on its own, with an optional text, image or video header and a footer, so a bot can offer choices without an agent stepping in.

Ready to get started?

Start with 100 test messages. Full access during the trial. No credit card required.

No credit card required
100 test messages included