create_template_version
Create a new inactive version of a dynamic template from edited content, preventing unintended production sends. Activate only when ready.
Instructions
Mutating but safe-by-default: create a new dynamic template version from edited content. The new version is inactive unless active is set to 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new version | |
| active | No | Optional active flag. Defaults to 0 so edits do not immediately affect production sends. | |
| subject | Yes | Subject line for the new version | |
| template_id | Yes | ID of the dynamic template | |
| html_content | Yes | HTML content for the new version | |
| plain_content | Yes | Plain text content for the new version |