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

# GET Get Template

> Retrieve a single template by ID.

## Get template

`GET /api/templates/:id`

Retrieve details of a specific WhatsApp message template.

### Headers

**Cookie** `string` *required*

Session cookie (login via POST /api/auth/login)

### Path parameters

**id** `integer` *required*

Template ID.

```bash cURL theme={null}
curl https://zeplo.ai/api/templates/1 \
  -H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
```

```json Response theme={null}
{
  "success": true,
  "data": {
    "id": 1,
    "name": "welcome_message",
    "category": "MARKETING",
    "status": "APPROVED",
    "language": "en",
    "header": null,
    "body": "Welcome to {{1}}! We're excited to have you.",
    "footer": "Reply STOP to unsubscribe",
    "buttons": [
      { "type": "QUICK_REPLY", "text": "Get Started" }
    ],
    "channelId": "647015955153740",
    "metaTemplateId": "1234567890",
    "qualityScore": "GREEN",
    "createdAt": "2026-01-01T08:00:00Z",
    "updatedAt": "2026-01-02T12:00:00Z"
  }
}
```

### Template statuses

| Status | Description |
| - | - |
| `APPROVED` | Template is approved and can be used |
| `PENDING` | Template is under review |
| `REJECTED` | Template was rejected by WhatsApp |
| `PAUSED` | Template is temporarily paused |
| `DISABLED` | Template has been disabled |


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