Edit a template
Edit an existing template's content and re-submit it to Meta for review. The request body is components-only — send the FULL desired components array (Meta replaces all components at once; this is a replacement, not a partial patch). name, language, and category cannot change. Use ?language= to disambiguate when a name has multiple languages. Only templates already reviewed by Meta (approved / rejected) can be edited — a pending template returns 409 template_not_editable. On success the template re-enters Meta review, so the returned status is pending; poll GET /{phone_number_id}/templates/{name} for the eventual transition. Meta enforces its own edit rate limits (APPROVED: 10 edits / 30 days or 1 / 24h; rejected/paused unlimited) and surfaces them as 429 / 400.
Request
- Base URL: https://api.kirimdev.com/v1
- URL: https://api.kirimdev.com/v1/{phone_number_id}/templates/{name}
- Auth: HTTP bearer
Path parameters
Meta WhatsApp Business phone_number_id of the connected account that should send / own this resource. Discoverable via GET /v1/accounts (returned as phone_number_id on each row).
Meta template name, unique within an account and language variant.
Query parameters
Select a specific language variant when several templates share the same name.
Request body
Response
Template edited (re-entered Meta review, status: pending)
Example response
{
"data": {
"id": "tmpl_01HXYZABCDEFGHJKMNPQRSTVWX",
"category": "UTILITY",
"whatsapp_account": {
"phone_number_id": "106540352242922",
"customer": {
"id": "cus_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}
},
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}Changes
No recorded changes to this operation across all 1 revision of this API.