Create Template
Create a reusable email template.
POST /api/v1/templates
Requires developer Bearer authentication.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Template name |
alias | string | No | Stable alias for send-time lookup |
from | string | No | Default sender |
subject | string | No | Default subject |
reply_to | string | No | Default reply-to |
html | string | Yes | HTML body |
text | string | No | Plain-text body |
variables | object[] | No | Variable definitions |