mailkite_create_template
Create reusable email templates by cloning a base template or providing custom HTML, text, subject, and theme.
Instructions
Create a template. Pass baseId to clone a base template into your own, or provide name/subject/html/text/theme directly. Requires a management session token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Rendered, send-ready HTML. | |
| json | No | Editor (TipTap) JSON source, for re-editing in the dashboard. | |
| name | No | Template name. Required unless baseId is given. | |
| text | No | Plaintext fallback. | |
| theme | No | Brand tokens JSON (bg, surface, primary, text, logo, …). | |
| baseId | No | Clone this base template (base_…) into your own. When set, name is optional (defaults to the base's name). | |
| subject | No | Default subject line for sends. |