Edit template
https://api.joinotify.com/templates/{name}Replaces the components of an existing template. Only the content changes: name, language and category are immutable on Meta — to change any of them, create a new template.
An edit sends the template back to the review queue (PENDING). While it is
under review, sends keep using the previously approved version, so nothing
stops working in the meantime.
Before calling Meta
- Only templates in
APPROVED,REJECTEDorPAUSEDcan be edited. Under review (PENDING) the answer is422 template_not_editable. languageis only required when the same name exists in more than one language — each language is a separate template on Meta.- Components go through the same validations as
POST /templates(an example per variable, no gaps in the numbering, no variables in the footer…). - The variable format (numbered × named) is fixed at creation and cannot change in an edit.
Meta replaces the whole component list: whatever you leave out is gone. To
keep buttons or a media header, send those components back exactly as they
came from GET /templates.
Path Params
1 required
Template name.
Body Paramsapplication/json
1 required3 optional
The template's new components, in Meta's dialect. This list replaces the current one — send back anything you want to keep (buttons, media header).
Which language version to edit. Only required when the same name exists in more than one language.
min. 2 characters
Inferred from the text when omitted. It has to match the format the template was created with — that cannot change in an edit.
Allowed values:POSITIONALNAMED