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

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

The question should be specific, self-contained, and written in natural language.
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.
