update_template
Edit an existing template's category and/or content (body, header, footer, buttons). Meta only allows editing templates that are APPROVED, REJECTED, or PAUSED (not PENDING); approved templates are limited to a few edits per day. name and language cannot be changed. Same placeholder/example rules as create_template. Pass header_video_url to attach/replace a video header, or header_text to switch to (or keep) a text header — one header only, so not both. After editing, the template re-enters review. Returns the updated template row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| buttons | No | ||
| category | No | ||
| footer_text | No | ||
| header_text | No | Text header (max 1 placeholder). Mutually exclusive with header_video_url | |
| template_id | Yes | DripRaven template id (from list_templates) | |
| body_examples | No | ||
| header_video_url | No | Public URL of an .mp4 to attach/replace the video header. Not with header_text |