WhatsApp template buttons: types and limits
The button types in Cloud API templates, the limits of each one, the quick reply grouping rule and how to build the creation and send payloads.
Overview of template buttons
All the buttons of a template live inside a single `BUTTONS` component, with a `buttons` list. Meta allows up to 10 buttons per template, but the number a customer sees at once is smaller: with more than 3 buttons, two show and the rest sit behind "See all options".
That changes the design decision. If you need one main action, do not hide it behind the third button. Put the buttons the user really uses in the first positions and treat the rest as secondary.
One limitation to consider: Meta states that templates with 4 or more buttons, or with a quick reply combined with another button type, cannot be viewed on WhatsApp desktop clients. If part of your audience uses a computer, prefer simple layouts. For sending, see the buttons guide in the Hub (Portuguese), which covers free-form interactive messages, different from template buttons.
Button types and limits of each
The table summarizes the limits Meta publishes on the components page:
| Type | Limit | Notes |
|---|---|---|
| Quick reply (QUICK_REPLY) | Up to 10; label up to 25 characters | Must be grouped and separate from other types |
| URL | Up to 2; label up to 25 characters; URL up to 2,000 characters | Accepts one variable at the end of the URL |
| Phone number (PHONE_NUMBER) | 1 per template; label up to 25; number up to 20 characters | Dials the number |
| Copy code (COPY_CODE) | 1 per template; example up to 20 characters | Copies the code to the clipboard |
| Voice call | No count limit stated | Calls the business on WhatsApp |
| One-time password (OTP) | Authentication only | Special URL button for authentication templates |
| MPM and SPM | Not customizable | MPM shows up to 30 products in up to 10 sections; SPM points to one catalog product |
Meta's documentation does not cover Flow buttons on that page. If you use Flows, read the specific documentation before assuming behavior.
In the Hub, the creation `POST` accepts the types QUICK_REPLY, URL, PHONE_NUMBER, COPY_CODE and OTP, and up to 10 buttons per component. Those are Hub validation limits, narrower than Meta's universe of types, and they are in the templates reference (Portuguese).
The quick reply grouping rule
Quick replies must sit together, separate from buttons of other types. A sequence like Quick Reply, Quick Reply, URL, Phone is valid, and so is URL, Phone, Quick Reply, Quick Reply. Quick Reply, URL, Quick Reply is invalid, and so is URL, Quick Reply, URL. Meta warns that an invalid grouping returns an API error.
This error tends to show up when someone builds the button list from a UI where the order was dragged freely. Validate the order in your system before calling the API: walk the list and check that the quick replies form a contiguous block at the start or the end.
The `index` property sets the display order of quick replies at send time. When the send includes buttons with variables, the type and order must match the template definition; `index` does not let you reorder. This is a source of silent errors when you change the order between creation and sending.
Creation example with buttons
Here is a utility template with a confirmation quick reply and a URL button with a variable. The example respects grouping: the quick reply comes first, then the URL.
{
"name": "appointment_confirmed",
"language": "en_US",
"category": "UTILITY",
"components": [
{ "type": "BODY",
"text": "Hi {{1}}, your appointment is set for {{2}}.",
"example": { "body_text": [["Ana", "March 12, 2pm"]] } },
{ "type": "BUTTONS", "buttons": [
{ "type": "QUICK_REPLY", "text": "Confirm" },
{ "type": "URL", "text": "View details",
"url": "https://example.com/appointment/{{1}}",
"example": ["https://example.com/appointment/abc123"] }
] }
]
}Labels have up to 25 characters, and a URL with a variable needs an example. The URL button variable is a single one, appended to the end of the address. If you need more than one, build the path on your server and pass a short identifier.
Sending a template with buttons
At send time, each button with a parameter becomes a `button` component, with `sub_type` and `index`. For a URL button, the parameter is a `text` with the variable value. For a quick reply, the parameter is a `payload`, an optional piece of data Meta returns when the customer taps the button.
{
"type": "button",
"sub_type": "url",
"index": "1",
"parameters": [ { "type": "text", "text": "abc123" } ]
}The `index` indicates the button position in the approved template, counted from zero. In the previous example the URL is the second button, so the index is 1. The Hub accepts `sub_type` quick_reply, url, catalog and mpm, with `index` from 0 to 99, and `payload` up to 1,000 characters, per the send a template guide (Portuguese).
When the customer taps a quick reply, the tap reaches your webhook as a received message, with the `payload` you set. Use the `payload` to identify the action without depending on the label text, which may be translated or changed. The webhooks page explains event delivery.
Choosing the right button
Use a quick reply when the action fits inside the conversation and you want a structured signal back, such as confirm or cancel. Use URL when the action happens outside WhatsApp and needs an identifier, such as opening an order detail. Use phone when the next step is talking to someone. Use copy code for coupons and codes the user will paste elsewhere.
Avoid stacking types. Each extra button is one more decision for the user and one more risk of desktop viewing restrictions. In general, two well-chosen buttons work better than five.
Finally, remember that button text also goes through review. Promotional labels in a utility template can trigger reclassification. If the button invites someone to buy something, the template is probably marketing, as the article on categories shows.
Frequently asked questions
How many buttons can a WhatsApp template have?
Up to 10 buttons in a single BUTTONS component. With more than 3, two show and the rest sit under "See all options".
Can I mix quick replies and URL buttons in any order?
No. Quick replies must form a contiguous block, at the start or the end of the list. Interleaving them causes an API error.
What is the maximum button label length?
25 characters for quick reply, URL and phone buttons, according to Meta's components documentation.
Do templates with many buttons work on WhatsApp desktop?
Meta states that templates with 4 or more buttons, or a quick reply plus another type, cannot be viewed on desktop clients.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.