> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Template Tools

> List, inspect, and check WhatsApp message template approval status with the Zeplo MCP Server.

# Template Tools

Tools for viewing WhatsApp message templates and their approval status.

## template\_list

List WhatsApp message templates with status and category filtering.

**Parameters:**

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `channelId` | string | No | — | Filter by channel ID |
| `status` | string | No | — | Filter by status: `draft`, `pending`, `approved`, `rejected` |
| `category` | string | No | — | Filter by category: `marketing`, `utility`, `authentication` |
| `page` | number | No | 1 | Page number |
| `limit` | number | No | 20 | Items per page |

**Example:**

```json theme={null}
{
  "channelId": "ch_abc123",
  "status": "approved",
  "category": "marketing"
}
```

***

## template\_get

Get template details including body, parameters, and approval status.

**Parameters:**

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Template ID |

**Response includes:** template name, status, category, language, body content, parameters, WhatsApp template ID, and rejection reason (if any).

***

## template\_sync\_status

Check the approval status of all templates for a channel.

**Parameters:**

| Parameter | Type | Required | Description |
| - | - | - | - |
| `channelId` | string | Yes | Channel ID to check templates for |

**Response:**

```json theme={null}
{
  "channelId": "ch_abc123",
  "total": 15,
  "byStatus": {
    "approved": 12,
    "pending": 2,
    "rejected": 1
  },
  "templates": [
    {
      "id": "tpl_abc123",
      "name": "order_confirmation",
      "status": "approved",
      "category": "utility",
      "language": "en_US",
      "whatsappTemplateId": "waid_12345",
      "rejectionReason": null
    }
  ]
}
```

> [!NOTE]
>
> This gives a quick overview of template readiness across a channel — useful before launching a campaign.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.