List templates
이 페이지는 아직 한국어 언어로 제공되지 않습니다. 기본 언어(English)로 표시합니다.
List templates
https://api.cekat.ai/api/templatesLists your business’s WhatsApp templates across all inboxes, newest first.
Authorization
Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.
Alternative to api_key: send the same key as Bearer YOUR_API_KEY.
Query parameters
1min: 1Templates per page.
1000min: 1Only include items created on or after this date (YYYY-MM-DD). Cannot be combined with start_datetime.
Only include items created on or before the end of this date (YYYY-MM-DD). Cannot be combined with end_datetime.
Only include items created at or after this time (YYYY-MM-DDTHH:mm:ss, optional offset such as +07:00 or Z). Cannot be combined with start_date.
Only include items created at or before this time (YYYY-MM-DDTHH:mm:ss, optional offset). Cannot be combined with end_date.
Response format version in YYYY-MM-DD format. Use 2026-05-22 or later to get created_at as an ISO 8601 UTC timestamp.
^\d{4}-\d{2}-\d{2}$Headers
IANA time zone used to read date filters that have no offset. Defaults to Asia/Jakarta.
Response
A page of templates.
Show child attributes
Cekat's internal template ID.
Creation time. See Versioning for the format.
Meta's template ID. Use this value to send, delete, or run a campaign with the template.
AUTHENTICATION, MARKETING, UTILITYMeta review status, for example APPROVED, PENDING, or REJECTED. Only APPROVED templates can be sent.
Sample values for the body variables, as submitted to Meta.
TEXT, DOCUMENT, IMAGE, VIDEOHeader text, for templates with a text header.
URL of the header media, for templates with a media header.
Show child attributes
Show child attributes
Show child attributes
Total number of templates.
The request is invalid.
Show child attributes
Request ID. Include it when contacting Cekat support.
The API key is missing or invalid.
Show child attributes
Request ID. Include it when contacting Cekat support.
Rate limit exceeded. Wait and retry.
curl --request GET \
--url 'https://api.cekat.ai/api/templates' \
--header 'api_key: YOUR_API_KEY'
const response = await fetch('https://api.cekat.ai/api/templates', {
method: 'GET',
headers: { 'api_key': 'YOUR_API_KEY' },
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.cekat.ai/api/templates"
headers = {"api_key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://api.cekat.ai/api/templates',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY'],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2026-01-15T09:30:00Z",
"wa_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe",
"category": "AUTHENTICATION",
"language": "<string>",
"status": "<string>",
"body": "<string>",
"body_placeholder": [
"<string>"
],
"header_type": "TEXT",
"header": "<string>",
"file_url": "https://example.com",
"footer": "<string>",
"buttons": [
{}
],
"inbox_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbox": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe",
"type": "<string>",
"status": "<string>",
"business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
],
"metadata": {
"pagination": {
"current_page": 1,
"total_page": 1,
"total_data": 1
}
}
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"message": "<string>"
}