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

Media Templates

Overview

A Media Template is a pre-approved message format in WhatsApp Business API that allows businesses to send messages with media content such as images, videos, or documents along with text. It is used to initiate conversations or send messages outside the 24-hour customer service window.

Key Features

  • Supports Media Content Media templates allow inclusion of:

    • Images

    • Videos

    • Documents (PDF, etc.)

  • Header-Based Media Media is added in the header section of the template.

Supported Media Types

Media Type
Description

Image

JPG, PNG formats

Video

MP4 format

Document

PDF and supported document formats

Template Structure

A standard media template consists of:

  1. Header (Media Section) Contains the media file (image, video, or document)

  2. Body (Message Content) Text message with optional variables

  3. Footer (Optional) Additional short text (e.g., disclaimers)

  4. Buttons (Optional) Quick Reply or Call-To-Action buttons

Use Cases

  • Product promotions with images

  • Invoice or report sharing (PDF)

  • Event invitations with visuals

  • Video-based marketing campaigns

Media Type
Max Size

🖼️ Image

5 MB

🎥 Video

16 MB

📄 Document

20 MB

Last updated

Was this helpful?