Skip to main content
The client.templates service manages Lettr-managed templates. To send a template, set the template on CreateEmailOptions — see Sending Emails.

List Templates

API Reference

GET /templates

Get a Template

Create a Template

Provide HTML or JSON (the TOPOL.io editor format), not both:

API Reference

POST /templates

Update & Delete

Updating a template creates a new active version:

Get Merge Tags

Retrieve the variables a template expects — useful for validating data before sending:

API Reference

GET /templates//merge-tags

What’s Next

Template Language

Merge tag syntax, conditionals, loops

Sending Emails

Send a template with substitution data