commsharbor_template_import_html
Import a safe HTML subset as a draft. Active content, forms and unsafe URLs are rejected, not sanitised-and-kept. What survives is stored as blocks, so an imported template behaves exactly like an authored one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Safe HTML subset | |
| name | Yes | Template name | |
| subject | Yes | Subject with declared {{variables}} | |
| variables | No | ||
| message_type | Yes | What it may be used for. | |
| organization_id | Yes | Active organization ID |