> For the complete documentation index, see [llms.txt](https://docs.cartat.net/cartat-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cartat.net/cartat-api/whatsapp-official-api/templates.md).

# Templates

Use these endpoints to create official WhatsApp templates, upload media for template headers, and check template approval status.

### Endpoints

| Method | Endpoint                      | Description                              |
| ------ | ----------------------------- | ---------------------------------------- |
| `POST` | `/template/`                  | Submit a template for approval.          |
| `GET`  | `/template/{template}/status` | Check a template approval status.        |
| `POST` | `/template/media`             | Upload media to use in template headers. |
| `POST` | `/message/text`               | Send an approved template by name.       |
| `GET`  | `/instance/`                  | Get the authenticated instance details.  |

### Pages in this section

| Page                     | Description                                                      |
| ------------------------ | ---------------------------------------------------------------- |
| Create template full     | Create a template with header, body, footer, and buttons.        |
| Create template video    | Create a template with a video header.                           |
| Create template Utility  | Create a utility template for transactional messages.            |
| Create template document | Create a template with a document header.                        |
| Template status          | Check if a submitted template is approved, pending, or rejected. |
| Send message             | Send an approved template message to a WhatsApp number.          |
| Upload media             | Upload media and use the returned handle in template examples.   |
| Client info              | Read the authenticated instance details used by Cartat API.      |
