Get Template Merge Tags
Templates
Get Merge Tags
Retrieve the merge tags (variables) for a template version. By default, returns merge tags for the active version. Use the version parameter to get merge tags for a specific version.
GET
Get Template Merge Tags
Returns the merge tags found in a template’s content. Use this to discover whichDocumentation Index
Fetch the complete documentation index at: https://docs.lettr.com/llms.txt
Use this file to discover all available pages before exploring further.
substitution_data keys a template expects when sending an email.
By default, merge tags are extracted from the active version. Use the version query parameter to inspect a specific version instead.Authorizations
API key for authentication
Path Parameters
The template slug (URL-friendly identifier)
Example:
"welcome-email"
Query Parameters
Project ID to retrieve the template from. If not provided, uses the team's default project.
Required range:
x >= 1Template version number. If not provided, uses the active version.
Required range:
x >= 1