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.

Example Request

To create a template from code, use Create Template, then follow its review with Template Status, which asks WhatsApp directly. See Creating a WhatsApp Message Template for how templates are created and approved in the dashboard, and Why Templates Get Rejected and How to Fix Them for what each status means.
The response is a list, one object per template.
Each template has two ID-looking fields: id (a short ChatSyncs number, e.g. 48) and template_id (a long Meta-assigned number, e.g. 437509121867805). When sending with Send Template Message, use the id as that request’s template_id. Meta’s long template_id is answered with Message template not found.
template_json is the request ChatSyncs sent to Meta and can include your WhatsApp access token. Treat the whole response as confidential and never paste it into a chat, a ticket or a log.

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

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

status
string

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

message
object[]

The rows, as a list. There is no data field on this endpoint.