Update a WhatsApp template
Update a WhatsApp template's name, folder, category, language, content, recipient, or sender. You only need to send the fields you want to change; Customer.io keeps the current value of any field you leave out.
Meta reviews a template's content, category, and language. After you submit the template to Meta, you can't change those three fields unless Meta rejects the template. To change an approved template, create a new template and submit that one instead. You can change the name, folder, recipient, and sender at any time.
Renaming a template only changes the name your team sees in Design Studio. It doesn't rename the template you submitted to Meta.
- Type: string Format: uuididrequired
The UUID of the WhatsApp template.
Send at least one of these properties.
- Type: string enumcategory
The new Meta template category.
values- M
A R K E T I N G - U
T I L I T Y
- Type: stringcontent
The new template, written as WhatsApp markup. See the
contentfield on Create a WhatsApp template for the format. - Type: stringlanguagemin length:1
The new Meta language code, like
en_US. - Type: stringnamemin length:1max length:191
A new friendly name for the template.
- Type: string | null Format: uuidparent
_folder _id UUID of the folder you want to move the template into. Pass
nullto move the template to the root level. - Type: stringrecipientmin length:1
New liquid that resolves to the WhatsApp phone number of the person you're messaging, like
{{customer.phone}}. - Type: integer | null Format: int64sender
_id min:1The ID of the WhatsApp sender identity to send the template from. Pass
nullto clear the sender.
- 204
WhatsApp template updated, no content returned
- application/json
- application/json
- application/json
- application/json
- application/json
{
"category": "MARKETING",
"content": "<x-whatsapp><x-wa-body>Hi {{customer.first_name}}, your order is out for delivery.</x-wa-body></x-whatsapp>",
"language": "en_US",
"name": "Order shipped",
"parent_folder_id": null,
"recipient": "{{customer.phone}}",
"sender_id": 4
}
WhatsApp template updated, no content returned