WabaTemplateRead
A WhatsApp Business API message template registered for a company channel. WABA requires pre-approved templates to initiate conversations outside the 24-hour window. A template is built from a prepared message and carries an approval status.
Unique numeric identifier of the record.
ID of the owning company (the top-level tenant account).
ID of the prepared message this template is based on.
ID of the messaging channel this record relates to.
The template's id at the WABA provider.
The template name registered with the provider.
variables object[]required
Ordered variables substituted into the template, each sourced from a lead or contact field.
Whether the value comes from the lead or the contact.
Possible values: [lead, contact]
leadThe field key to read the value from.
Provider approval status — pending, approved, rejected, failed, or paused.
Possible values: [pending, approved, rejected, failed, paused]
WABA template category — marketing, utility, or authentication.
Possible values: [marketing, utility, authentication]
Template media type — text, video, image, or document.
Possible values: [text, video, image, document]
example objectrequired
Example rendering of the template body.
- string
- null
vertical objectrequired
Optional business vertical declared for the template.
- string
- null
Template language (ru or en_US).
Possible values: [ru, en_US]
header objectrequired
Optional template header text.
- string
- null
example_header objectrequired
Optional example value for the header.
- string
- null
footer objectrequired
Optional template footer text.
- string
- null
Optional template buttons.
Creation time (UTC, ISO 8601).
{
"id": 0,
"company_id": 0,
"prepared_msg_id": 0,
"channel_id": 0,
"ext_id": "string",
"name": "string",
"variables": [
{
"source": "lead",
"key": "string"
}
],
"status": "pending",
"category": "marketing",
"type": "text",
"example": "string",
"vertical": "string",
"lang": "ru",
"header": "string",
"example_header": "string",
"footer": "string",
"buttons": [
null
],
"created_at": "2024-07-29T15:51:28.071Z"
}