> For the complete documentation index, see [llms.txt](https://docs.mercuri.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercuri.cx/features/templates/whatsapp-templates/how-to-set-up-media-headers-when-sending-messages-using-the-mercuri-api.md).

# How to Set Up Media Headers When Sending Messages Using the Mercuri API

- [How to Set Up a PDF (Document) Header Correctly](https://docs.mercuri.cx/features/templates/whatsapp-templates/how-to-set-up-media-headers-when-sending-messages-using-the-mercuri-api/how-to-set-up-a-pdf-document-header-correctly.md): This guide explains how to add a PDF to the message header and avoid common mistakes like seeing a sample PDF instead of the real one.
- [How to Set Up an Image Header Correctly](https://docs.mercuri.cx/features/templates/whatsapp-templates/how-to-set-up-media-headers-when-sending-messages-using-the-mercuri-api/how-to-set-up-an-image-header-correctly.md)
