POST /templates
Create a template. Publish it before sending it from the API.
| Field | Type | Description | |
|---|---|---|---|
name | string | required | Template name. |
alias | string | Stable name to send by, like order-confirmation. | |
subject | string | Subject with {{{variables}}}. | |
html | string | HTML body. | |
from | string | Default sender. |