Skip to main content
The client.Templates service manages Lettr-managed templates. To send a template, set TemplateSlug on SendEmailRequest — 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:
purpose is set once and cannot be changed. Omit it and you get a transactional template, which a campaign cannot use — and purpose is not accepted by the update endpoint, so the only remedy is to copy the template in the app. If the content is going to an audience, set it now. See Transactional vs. Marketing Templates.

API Reference

POST /templates

Update & Delete

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