Carousel Templates

Carousel templates display a horizontally scrollable series of cards, each with its own image or video header, body text, and action buttons. They are ideal for showcasing multiple products, features, or options in a single message.

Block Structure

A carousel template uses a single whatsapp-carousel block that contains:

Component
Required
Description

Body text

Yes

Main message text displayed above the carousel (max 1024 characters)

Cards

Yes

2--10 cards, each with a header, body, and actions

All cards are defined inline in the template. Dynamic or hybrid card modes (using cardsType or cardsParameterKey) are available in the OpenAPI schema but are not supported for approved WhatsApp templates.

Here's how a carousel template renders on WhatsApp. The body text appears above the cards, and the next card peeks from the right to indicate swipeable content:

Swiping reveals the next card. Each card has its own image header, body text, and action buttons:


Each card is a whatsapp-carousel-card block:

Component
Required
Max
Description

Header

Yes

1

Image or video (file) -- all cards must use the same header type

Body

Yes

1

Card text (max 160 characters)

Actions

Yes

2

Link, reply, or phone number buttons

Card header

Each card requires an image or file (video) header. All cards within a carousel must use the same header type (all images or all videos).

Image header:

Video header:

circle-info

If you need to host media, use the Media Library API to upload files and get a mediaUrl. See Image Template Blocks -- Uploading media for the full upload flow.

Card body

Max 160 characters per card. Supports variables.

Card actions

Each card supports 1--2 buttons. All cards must have the same number and types of action buttons.

Supported action types per card: link-action, reply-action, call-phone-number-action.


Complete Example


Constraints

Rule
Limit

Cards per carousel

2--10

Card body length

160 characters

Actions per card

1--2

Header type consistency

All cards must use the same header type (all images or all videos)

Action consistency

All cards must have the same number and types of buttons


Last updated

Was this helpful?