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

# 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="/files/vZwauM2yd5yAEgLT27id" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7vQ3ayWLBx4NMfmfXUE3" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
