Templates
Your Cekat API key. Obtain this by calling POST /register or from your Cekat dashboard under Settings → API.
UUID of the WhatsApp Business inbox this template belongs to. Obtainable via the GET /inboxes endpoint.
Successful response
No content
Bad request — check required fields and formats.
Unauthorized — API key is missing or invalid.
Resource not found.
GET /templates HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
No content
Your Cekat API key. Obtain this by calling POST /register or from your Cekat dashboard under Settings → API.
Unique snake_case name for the template, e.g. promo_ramadan. Must match Meta's naming rules (lowercase, no spaces).
tanya_kabarnyaTemplate category. Accepted values: AUTHENTICATION, MARKETING, or UTILITY. Most use cases fall under MARKETING.
MARKETINGLanguage code accepted by Meta (e.g. id for Indonesian, en_US for English US). See full list in the description.
idMain text content of the template. Use {{1}}, {{2}}, etc. to define dynamic variables. Example: Halo {{1}}, ada promo spesial untukmu!
Halo {{1}}, kamu apa kabarnya? Semoga baik-baik aja yaUUID of the WhatsApp Business inbox this template belongs to. Obtainable via the GET /inboxes endpoint.
Example values for body variables in JSON array format. Required if body contains {{N}} placeholders. Example: ["Jane", "10"].
["Jane"]Optional header image file. Accepted formats: jpeg, jpg, png.
Successful response
No content
Bad request — check required fields and formats.
Unauthorized — API key is missing or invalid.
Resource not found.
POST /templates HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 194
{
"name": "tanya_kabarnya",
"category": "MARKETING",
"language": "id",
"body": "Halo {{1}}, kamu apa kabarnya? Semoga baik-baik aja ya",
"inbox_id": "text",
"body_placeholder": "[\"Jane\"]",
"file": "binary"
}No content
Your Cekat API key. Obtain this by calling POST /register or from your Cekat dashboard under Settings → API.
Successful response
No content
Bad request — check required fields and formats.
Unauthorized — API key is missing or invalid.
Resource not found.
DELETE /templates HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
No content
Your Cekat API key. Obtain this by calling POST /register or from your Cekat dashboard under Settings → API.
UUID of the WhatsApp Business inbox this template belongs to. Obtainable via the GET /inboxes endpoint.
{{inbox_id}}Successful response
No content
Bad request — check required fields and formats.
Unauthorized — API key is missing or invalid.
Resource not found.
POST /templates/sync HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
No content
Your Cekat API key. Obtain this by calling POST /register or from your Cekat dashboard under Settings → API.
The WhatsApp template ID. Obtainable via GET /templates.
UUID of the WhatsApp Business inbox this template belongs to. Obtainable via the GET /inboxes endpoint.
Business phone number in international format, e.g. 6285695209520.
Display name of the recipient.
Successful response
No content
Bad request — check required fields and formats.
Unauthorized — API key is missing or invalid.
Resource not found.
POST /templates/send HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"wa_template_id": "",
"inbox_id": "",
"phone_number": "",
"phone_name": ""
}No content
Last updated