WhatsApp Templates
Update a message template
Updates a template's category or components. A template can only be updated while it is not yet approved — once approved, delete and recreate it to make changes.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Learn more about API scopes.
patch/api/messaging/whatsapp/templates/{id}
Path parameters
idstring required
The template ID — either the SignalWire ID (a UUID) or the Meta template ID (a numeric string). Both are accepted.
Request body
Example request
{
"components": [
{
"type": "BODY"
}
]
}Response
The request has succeeded.
Example response
{
"name": "order_update",
"components": [
{
"type": "BODY"
}
],
"language": "en_US",
"template_id": "1164792772433648",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"discarded_at": "2024-01-15T10:30:00Z"
}