Skip to content

Templates

SushiSend templates live in the dashboard under Templates. Each template is a JSON block schema that renders to HTML + a plain-text version. Variables use {{handlebar}} syntax.

Create a template

Templates → New template → name + slug. You get a block-based editor with a live preview. Drop in a header, body, button, divider, footer — each block has its own settings panel.

Use variables

Hi {{first_name}},
Your order #{{order_id}} shipped and should arrive by {{eta}}.

Variables that aren’t provided on the send fall back to empty strings — they never leak {{...}} to your recipient.

Send a template

POST /v1/emails
{
"from": "hello@yourdomain.com",
"to": "user@example.com",
"subject": "Your order has shipped",
"template": "order-shipped",
"variables": { "first_name": "Ada", "order_id": "A-1041", "eta": "Tuesday" }
}

Versioning

Every save creates a new version. Send-path requests always use the latest published version by default; pin a specific version with "templateVersion": 12.

Test-send

From the editor, Test send delivers the current draft to any email you enter. Test sends don’t count against your monthly quota.