Update template by id
Update one variant's components and/or its message_send_ttl_seconds by its Meta id. Name, language and category cannot change.
Meta only allows editing templates in APPROVED, REJECTED or PAUSED state; an approved
template can be edited once per 24 hours and up to 10 times per 30 days. A component update
sends the variant back to Meta for review, so the status returned here is normally PENDING;
a TTL-only update keeps an APPROVED variant approved.
The final outcome arrives on the whatsapp.template.status_updated webhook (which carries the
variant's templateId and language). A variant already in PENDING cannot be edited again
until Meta finishes reviewing it.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Meta template id (numeric).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
{ "success": true, "template": { "id": "string", "name": "string", "language": "string", "status": "string" }}Get template by id
Retrieve one template variant by its Meta id, the id every variant of a family has on its own and the one the `whatsapp.template.status_updated` webhook carries.
Delete template by id
Delete one language variant by its Meta id. Other languages of the same name are untouched. The name cannot be reused for 30 days once its last variant is deleted.