# WhatsApp interactive messages: reply buttons, lists and limits

> Reply buttons, list messages and CTA URL buttons on the WhatsApp Cloud API: Meta's character limits, the reply webhooks and the 24-hour window rule.

Published 2026-11-02. Z-API Omni team.

A reply buttons message carries up to three buttons with titles of 20 characters or less. A list message holds up to 10 rows, spread over up to 10 sections, behind one 20-character button. A CTA URL message shows one button that opens a web page. All three are interactive messages of the WhatsApp Cloud API, Meta's official API, and all three go out only while the user's 24-hour customer service window is open. When the user taps a reply button or a list row, your webhook receives the ID you assigned to it.

## Which interactive type fits the question

Use reply buttons when the answer is one of two or three choices: confirm, change, cancel. Meta describes them as a way to "send up to three predefined replies" ([reply buttons, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-reply-buttons-messages)). They can also carry an image, video or document header, which a list cannot.

Use a list when the choices run past three, or when each one needs a line of explanation. Rows have a title and a 72-character description, and sections group them under headings ([list messages, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-list-messages)).

Use a CTA URL button when the next step happens on a web page: a checkout, a booking calendar, a tracking page. The button opens the URL "in the device's default web browser" ([CTA URL messages, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-cta-url-messages)). Meta documents no webhook for that tap, so don't expect one when the user taps it.

## Meta's limits side by side

The figures below come from the three pages linked above. A cell marked "not stated" means Meta's page gives no limit.

| Field | Reply buttons | List | CTA URL |
| --- | --- | --- | --- |
| Choices | Up to 3 buttons | Up to 10 rows in total, up to 10 sections | One button (`display_text` plus `url`) |
| Button or row title | 20 characters, unique | Row title 24, button label 20 | `display_text` 20 |
| Extra text per choice | None | Row description 72 | None |
| Choice ID | 256 characters, unique | Row ID 200 | None |
| Body | 1,024 characters | 4,096 characters | 1,024 characters |
| Header | Text, image, video or document (text length not stated) | Text only, 60 characters | Text (60), image, video or document |
| Footer | 60 characters | 60 characters | 60 characters |
| Section title | Not applicable | 24 characters | Not applicable |

The 10-row ceiling applies to "all sections combined". Three sections of four rows is 12 rows, two over the limit. For CTA URL media headers, the asset must sit at a public URL.

## Send reply buttons

This is Meta's sample request, unchanged. Replace the phone number ID, the token, the recipient and the media ID with your own.

```bash
curl 'https://graph.facebook.com/v26.0/106540352242922/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer EAAJB...' \
-d '
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "+16505551234",
  "type": "interactive",
  "interactive": {
    "type": "button",
    "header": {
      "type": "image",
      "image": {
        "id": "2762702990552401"
      }
    },
    "body": {
      "text": "Hi Pablo! Your gardening workshop is scheduled for 9am tomorrow. Use the buttons if you need to reschedule. Thank you!"
    },
    "footer": {
      "text": "Lucky Shrub: Your gateway to succulents!™"
    },
    "action": {
      "buttons": [
        {
          "type": "reply",
          "reply": {
            "id": "change-button",
            "title": "Change"
          }
        },
        {
          "type": "reply",
          "reply": {
            "id": "cancel-button",
            "title": "Cancel"
          }
        }
      ]
    }
  }
}'
```

Put meaning in the `id`. The title is what the user reads, and you may rewrite it or translate it later. An ID such as `cancel-booking-8812` lets your handler act without a lookup, and 256 characters leaves room for a booking or order reference.

## Read the reply in your webhook

A tap on a reply button arrives as an inbound message of `type: "interactive"` inside the standard `messages` webhook. This is the message object from Meta's sample:

```json
{
  "context": {
    "from": "15550783881",
    "id": "wamid.HBgLMTY0NjcwNDM1OTUVAgARGBJBM0Y4RUU0RUNFQkFDMjYzQUMA"
  },
  "from": "16505551234",
  "id": "wamid.HBgLMTY0NjcwNDM1OTUVAgASGBQzQThBREYwNzc2RDc2QjA1QTIwMgA=",
  "timestamp": "1714510003",
  "type": "interactive",
  "interactive": {
    "type": "button_reply",
    "button_reply": {
      "id": "change-button",
      "title": "Change"
    }
  }
}
```

Meta's webhook reference defines `context.id` as the "WhatsApp message ID of the message containing the button the WhatsApp user tapped" ([interactive webhook reference, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/messages/interactive)). Match it against the wamid you stored when you sent the buttons. That tells you which booking the tap belongs to when the user has two open.

A list selection has the same envelope with a different `interactive` object:

```json
{
  "interactive": {
    "type": "list_reply",
    "list_reply": {
      "id": "priority_express",
      "title": "Priority Mail Express",
      "description": "Next Day to 2 Days"
    }
  }
}
```

Quick-reply buttons on a template arrive in another shape. Meta's button webhook reference covers the case where "A WhatsApp user taps a quick-reply button in a template message" ([button webhook reference, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/messages/button)). That message has `type: "button"`, with the values in `button.payload` and `button.text`. A handler that only checks `interactive.button_reply` misses every template tap, so branch on `type` first.

## Send a list message

The request below is built from the field reference, with values from Meta's shipping example. It is not Meta's sample.

```bash
curl 'https://graph.facebook.com/v26.0/PHONE_NUMBER_ID/messages' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-d '
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "RECIPIENT_PHONE_NUMBER",
  "type": "interactive",
  "interactive": {
    "type": "list",
    "body": {
      "text": "Which shipping option do you want?"
    },
    "action": {
      "button": "Shipping Options",
      "sections": [
        {
          "title": "I want it ASAP!",
          "rows": [
            {
              "id": "priority_express",
              "title": "Priority Mail Express",
              "description": "Next Day to 2 Days"
            },
            {
              "id": "priority_mail",
              "title": "Priority Mail",
              "description": "1–3 Days"
            }
          ]
        }
      ]
    }
  }
}'
```

Check lengths before you send. "Priority Mail Express" is 21 characters, which fits a row title (24) but would fail as a reply button title (20). Validate in code against the table above when titles come from a database or a translation file.

## Track CTA URL taps with a query parameter

The CTA URL payload sets `interactive.type` to `"cta_url"` and puts the button in `action`. This is the `interactive` object from Meta's example, shortened to the type and the action:

```json
{
  "type": "cta_url",
  "action": {
    "name": "cta_url",
    "parameters": {
      "display_text": "See Dates",
      "url": "https://www.luckyshrub.com?clickID=..."
    }
  }
}
```

Meta's own example adds a `clickID` query parameter to the URL. Since Meta documents no webhook for the tap, a parameter like that is how your web server learns which message and which user led to the visit. Generate one per message and log it next to the wamid.

## All three need an open service window

A user message or call opens a 24-hour customer service window, and another message or call resets it to 24 hours. "While the window is open, you can send any of the following service message types", and Meta's list includes CTA URL, list and reply buttons messages ([send messages, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/send-messages)). "When the window closes, you can only send pre-approved template messages." [WhatsApp error 131047](/academy/articles/whatsapp-error-131047-24-hour-window-templates/) covers what happens when a send misses the window. To offer choices to a user whose window has closed, use a template with quick-reply buttons.

Interactive messages are service messages, and Meta bills those under its own rules. The [service message charges from October 2026](/academy/articles/meta-whatsapp-service-message-charges-october-2026/) post covers the free tier and when billing starts. If the choice needs more than one screen of input, a [WhatsApp Flow](/academy/articles/whatsapp-flows-forms-inside-chat/) collects it as a form. For an AI agent that answers taps, the [n8n step-by-step agent](/academy/articles/whatsapp-ai-agent-n8n-step-by-step/) shows where the webhook branch goes.

Everything above is documented for Meta's official API. If some of your numbers use a QR connection and others the official API, Z-API Omni lets you choose either connection in the same account. Confirm which interactive types your connection sends before you build on them: [View documentation](https://developer.omni.z-api.io/en).
<!-- TODO:test Omni snippet: reply buttons and list message on the official connection, and whether the QR connection sends them -->

*Z-API Omni team*
