WhatsApp carousel template: cards and payload
How to create and send a Cloud API carousel template: 2 to 10 cards, component rules, text limits and the creation and send payloads.
What a carousel template is
A carousel is a single marketing template message with a set of media cards the user scrolls horizontally. Each card has an image or a video at the top and, optionally, text and buttons. The carousel is only available for templates in the marketing category, which places it under the delivery and category rules of that class.
Meta records a detail about behavior after the tap: when the user taps a URL button, the link opens in the device's default browser, which takes the person out of WhatsApp. Whatever order or action happens outside the conversation generates no webhook. Your system will not receive an event for what happens after the click.
Because the carousel is marketing, it carries the consequences of that category, such as the per-user limit behind error 131049, described in the Meta error catalog (Portuguese). The article on categories explains what makes a text land in marketing.
The card rules
The number of cards is at least 2 and at most 10. It is fixed at creation: an approved template can only send the same number of cards that was defined. If you want a 3-card carousel and a 5-card one, those are two templates.
Each card requires a header with an image or video asset. Optionally, each card can have body text and up to two buttons, of the types quick reply, phone number and URL, which can be mixed. The consistency rule is strict: all cards in the template must have the same components. If one card has body text, all cards do.
Media is automatically cropped to a wide ratio, according to the user's device. That means you do not control the final framing. Test images with the subject centered, away from the edges.
Text and field limits
The main carousel message, the body shown above the cards, is required, has at most 1,024 characters and accepts variables. The body text of each card counts toward a 160-character limit. Button labels have up to 25 characters, the phone number up to 20 characters, and the URL up to 2,000 characters, with one variable allowed at the end.
The template name follows the general rule: up to 512 characters. The variable types at send time are `text`, `currency` and `date_time`. If there are variables in the body or the URL, an example is required at creation.
| Item | Limit |
|---|---|
| Cards | 2 to 10, fixed at creation |
| Card header | Image or video, required |
| Buttons per card | Up to 2 (quick reply, phone, URL) |
| Message body | Up to 1,024 characters, required |
| Card body | Optional; counts toward a 160-character limit |
| Button label | Up to 25 characters |
One point of caution: Meta says card body text "counts toward a 160-character limit", without clarifying on the page whether the limit is per card or combined. Treat 160 as the per-card maximum, which is the safest reading, and validate with a real template.
The creation payload
Creation uses the same templates endpoint, with `category` equal to `marketing` and a `carousel` component with the `cards` list. The structure Meta describes has the main message and the carousel as components at the same level:
{
"name": "carousel_promo",
"language": "en_US",
"category": "marketing",
"components": [
{ "type": "body",
"text": "Check out what is new, {{1}}!",
"example": { "body_text": [["Ana"]] } },
{ "type": "carousel", "cards": [
{ "components": [
{ "type": "header", "format": "image",
"example": { "header_handle": ["<image-1-handle>"] } },
{ "type": "buttons", "buttons": [
{ "type": "url", "text": "View product",
"url": "https://example.com/p/{{1}}",
"example": ["abc123"] } ] }
] },
{ "components": [
{ "type": "header", "format": "image",
"example": { "header_handle": ["<image-2-handle>"] } },
{ "type": "buttons", "buttons": [
{ "type": "url", "text": "View product",
"url": "https://example.com/p/{{1}}",
"example": ["def456"] } ] }
] }
] }
]
}The cards use the handle returned by the Resumable Upload API, the same mechanism as any media header. Note that both cards have exactly the same components: an image header and a URL button. The Hub validates the creation body at up to 64 KB and requires 1 to 20 components, as the templates reference (Portuguese) describes. If your 10-card carousel exceeds that size, the issue is not the format but the weight of the JSON.
The send payload
At send time, the `carousel` component carries a `cards` list. Each card carries `card_index`, which is required and starts at zero, and the card's component list. The header carries an image or video parameter with the media ID, obtained from the media endpoint.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "5521999999999",
"type": "template",
"template": {
"name": "carousel_promo",
"language": { "code": "en_US" },
"components": [
{ "type": "body", "parameters": [ { "type": "text", "text": "Ana" } ] },
{ "type": "carousel", "cards": [
{ "card_index": 0, "components": [
{ "type": "header", "parameters": [ { "type": "image", "image": { "id": "1234567890" } } ] },
{ "type": "button", "sub_type": "url", "index": 0,
"parameters": [ { "type": "text", "text": "abc123" } ] }
] },
{ "card_index": 1, "components": [
{ "type": "header", "parameters": [ { "type": "image", "image": { "id": "1234567891" } } ] },
{ "type": "button", "sub_type": "url", "index": 0,
"parameters": [ { "type": "text", "text": "def456" } ] }
] }
] }
]
}
}Two reminders. First, the button `index` reflects the order of buttons in the sent message, and when variables are present, the type and order must match the template. Second, the `payload` of a quick reply is optional and comes back in the `messages.button.payload` webhook when the button is tapped. Meta itself notes an inconsistency: the send example uses strings for `index`, while the parameter table describes it as an integer. Test the variant your integration accepts.
Practical cautions
Validate images before creating the template: each card needs an asset, and a failed upload on card 7 of 10 breaks the whole creation. Use media upload to obtain the ID at send time and avoid depending on third-party URLs.
Think of the content as part of the category. A carousel presents items to choose from, and Meta treats it as marketing. If your message is really a confirmation with several items, evaluate whether a utility template with plain text solves it better.
Finally, remember delivery limits. Marketing templates are subject to pacing and to quality pausing, as the articles on pacing and paused templates show. A heavy carousel with lots of media that generates blocks is paused like any other template.
Frequently asked questions
How many cards can a WhatsApp carousel have?
From 2 to 10 cards. The number is fixed at creation, and the approved template only sends that same number.
Can I use a carousel in a utility template?
No. According to Meta, the carousel is only available for marketing templates.
Can cards have different components from each other?
No. All cards in the template must have the same components, and if one card has body text, all cards do.
How many buttons does each card accept?
Up to two per card, of the types quick reply, phone number and URL, which can be mixed.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.