> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/setting-up-guide/connecting-channels/whatsapp-templates/template-types/media-templates.md). Agents can also search and read this documentation through its [MCP server](https://help.pickyassist.com/~gitbook/mcp).

# 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.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FAZsbQmn3ELDGvkSh7Zrv%2Fmedia_template01.jpg?alt=media&amp;token=39467ed9-9649-4cba-9081-1b51f4824c38" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F8EMTFZjADWJqRlYr5Ob3%2Fmedia_template02.jpg?alt=media&amp;token=1bb4d52f-de89-4cc9-ba4e-a716f301f3b6" alt=""><figcaption></figcaption></figure>

### 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    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pickyassist.com/setting-up-guide/connecting-channels/whatsapp-templates/template-types/media-templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
