Skip to main content
GET
Bot Template Get
Returns the WhatsApp message templates created on a bot, including their approval status and underlying template JSON.
See Message Templates for how templates are created and approved in the dashboard, and Template Approval & Rejections for what each status means.
The response includes two different ID-looking fields: id (a short internal ChatSyncs number, e.g. 48) and template_id (a long Meta-assigned number, e.g. 437509121867805). When sending a template with Send Template Message, use the value shown in your dashboard’s template generator for template_id — if you’re unsure which field that corresponds to here, the API Developer Console → Send Text Message generator (see Send Template Message) is the authoritative source.

Query Parameters

apiToken
string
required

Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.

Example:

"API-KEY"

phone_number_id
string
required

The WhatsApp account's phone number ID. Where to find it.

Example:

"PHONE-NUMBER-ID"

Response

200 - application/json

Standard ChatSyncs response. status is "1" on success and "0" on failure.

status
string

"1" = success, "0" = failure.

message
string

Human-readable result message.