Templates
Make every email feel personal.
Build reusable emails, fill in variables and send them from your application.
POST /emailsSend with a template{
"from": "hello@example.com",
"to": "customer@example.com",
"subject": "Welcome",
"template": {
"id": "welcome",
"variables": { "NAME": "Kai" }
}
}Reference a published template by ID or alias and pass values with your request.
A message for every occasion.
Use variables to adapt reusable content for each recipient.
01
Welcome
Greet each new user by name, with your company in the line.
Hello {{NAME}}, welcome to {{COMPANY}}.02
Invitation
Ask someone to join the team that is waiting for them.
{{NAME}}, your team is ready for you.03
Receipt
Confirm the order with the buyer's own details.
Thanks for your order, {{NAME}}.
Draft, review, then publish.
Edits create a draft version. Publish it when it is ready to use in a send.
Design data is stored alongside each version in the template editor.
- 01Draft
- 02Edit
- 03Publish
- 04Send
Start with an API call.
Create a draft, then publish it before sending. A unique alias can stand in for the template ID.
POST /templatesCreatecurl -X POST https://api.send.io/templates \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Welcome","from":"hello@example.com",
"subject":"Welcome","html":"<p>Hello {{NAME}}</p>"}'Publish the draft before you reference it in an email request.
Make your next email your own.
Design once, then send it from anywhere with your own data.
