For the complete documentation index, see llms.txt. This page is also available as Markdown.

Template Components

Overview

WhatsApp templates are built using different components, which define the structure and content of the message. Each component serves a specific purpose, such as displaying text, media, or interactive elements.

A template can include the following components:

  • Header

  • Body

  • Footer

  • Buttons


1. Header

The Header is the top section of the template and is used to capture attention.

Supported Types

  • Text

  • Image

  • Video

  • Document

Key Points

  • Only one header is allowed per template

  • Media headers enhance visual engagement

  • Text headers can include dynamic variables


2. Body

The Body is the main content of the message.

Features

  • Supports text with dynamic variables (e.g., {{1}}, {{2}})

  • Used to convey the core message

Character Limit

  • Up to 1024 characters


The Footer is an optional section used for additional information.

Features

  • Typically used for:

    • Disclaimers

    • Additional notes

  • Does not support dynamic variables

Character Limit

  • Up to 60 characters


4. Buttons

Buttons provide interactive actions for users.

Types of Buttons

  • Call To Action (CTA)

    • Visit Website (URL)

    • Call Phone Number

  • Quick Reply

    • Predefined responses for user interaction


Key Limits

  • Maximum 10 buttons (depends on type and template)

  • Button text limit: 25 characters

  • ❌ Emojis are not supported in button text

Component
Character Limit
Additional Notes

Body Text

Up to 1024 characters

Mandatory component, supports variables and emojis

Footer

Up to 60 characters

Optional, text only, no variables allowed

Button Text

Up to 25 characters

Applies to button label text

Number of Buttons

Up to 10 buttons total

Includes Quick Reply + Call-to-Action combinations


Dynamic Variables

Dynamic variables allow templates to be personalized.

Format

Usage

  • Customer name

  • Order details

  • OTP codes


Important Notes

  • Each component must follow WhatsApp guidelines

  • Invalid formatting may lead to template rejection

  • Components and their limits may vary slightly based on template type (Marketing, Utility, Authentication)

Last updated

Was this helpful?