Create a template setting (make a template campaign-ready)
WhatsApp Template Settings
Create a template setting (make a template campaign-ready)
Configures an APPROVED template for campaign use by defining what fills each {{n}} placeholder. The template must be APPROVED — settings on pending/rejected templates are refused. params.body must provide a value for every placeholder the template declares, keyed '1'..'N'.
**Value kinds:** `{{contact.name}}` (base contact field), `{{custom.car_model}}` (custom field by key), or any literal string sent as-is.
**Example — template body 'Ciao {{1}}, il tagliando della tua {{2}} è pronto da {{3}}.':**
```
{
'template_uuid': 'f50d783e-38e9-4d27-8a51-754b211bcd98',
'params': {
'body': {
'1': '{{contact.name}}',
'2': '{{custom.car_model}}',
'3': 'Ambrosi Service'
}
}
}
```
(Shown with single quotes for readability — send standard double-quoted JSON.) For each contact, {{1}} becomes their name, {{2}} their stored car model, {{3}} is always 'Ambrosi Service'.
POST
Create a template setting (make a template campaign-ready)
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Body
application/json