---
title: "Get templates"
method: GET
path: "/api/public/templates"
tags: ["Templates"]
---

# Get templates

`GET /api/public/templates`

Retrieve templates based on the provided query parameters.

## Query parameters

- `page` number
- `name` string
- `option` string
- `language` string
- `status` string
- `category` string
- `channel_type` 'whatsapp' | 'playground' | 'instagram' | 'webchat' | 'web-whatsapp' | 'messenger' | 'sms' | 'tiktok' | 'linkedin' | 'telegram' | 'voice' | 'email'
- `channel_identifier` string
- `get_all` string
- `whatsapp_flow_id` string
- `exclude_type` string[]

## Headers

- `x-api-key` string, required

## Response `200`

Successful retrieval of WhatsApp templates.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.

---

[API](https://skmtc.net/vambe/apis/vambe-ai-api.md) · [All operations](https://skmtc.net/vambe/apis/vambe-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vambe/vambe-ai-api/revisions/e206709d4be5/schema)
