create_template
Create a new email template from HTML the user pasted or supplied. For an email you design, use create_dnd_email_template instead, so it opens in the drag-and-drop editor. Personalise with [[key]] merge tags, e.g. [[name]] for the first name (keys from list_custom_fields); {{…}} is not replaced in campaigns. Templates that would send broken (raw or unknown tags, a tag after a greeting, http images, missing alt text, placeholder links, over 102 KB) are refused with the fixes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML content | |
| name | Yes | Template name | |
| dry_run | No | Show what would be created without creating anything | |
| plain_text | No | Plain text content | |
| category_id | No | Category ID |