lettr.templates() service manages Lettr-managed templates. To send a template, set templateSlug on CreateEmailOptions — see Sending Emails.
List Templates
API Reference
GET /templates
Get a Template
Create a Template
Providehtml or json (the TOPOL.io editor format), not both:
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