POST /v1/templates
Templates are scoped to a single project (sender). Use {{handlebars}} placeholders anywhere in the subject, HTML, or text — supply their values as data when you render or send.
Body parameters
HTML body. Supports
{{handlebars}} merge variables, {{#if}} / {{#each}} blocks, and filters such as {{name | default: "there"}}.Stable handle used as
templateId on a send. Lowercase [a-z0-9-], unique per project. Auto-derived from name when omitted.Request
Response
Returns201 Created with the saved template. The variables array lists the merge fields the engine found — a quick way to confirm a placeholder didn’t get mistyped.
201 Created
