create_template
Create a WhatsApp message template with custom header, body, footer, and button components using the Meta Cloud API.
Instructions
Create a new WhatsApp message template. Components array should follow Meta template component schema (HEADER, BODY, FOOTER, BUTTONS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name (lowercase alphanumeric and underscores only) | |
| category | No | Template category | |
| language | Yes | Language code (e.g. en_US, ko) | |
| components | No | Template components array: [{type: "HEADER", format: "TEXT", text: "..."}, {type: "BODY", text: "Hello {{1}}"}, {type: "FOOTER", text: "..."}, {type: "BUTTONS", buttons: [...]}] | |
| parameter_format | No | Parameter format for template variables | |
| allow_category_change | No | Allow Meta to auto-assign a different category |