Lettr icon

Lettr

Interact with Lettr transactional email APIs

Template → Get Merge Tags

AI-generated

Summary

Fetches merge tags for a template identified by its slug. Uses the selected project and template version when provided; a version of 0 defaults to the active version, and a project ID of 0 uses the team’s default project.

Inputs

  • Slug (required) — URL-friendly identifier for the template.
  • Project ID — Project to query. Defaults to the team’s default project when set to 0.
  • Version — Template version to query. Defaults to the active version when set to 0.

Output shape

A single response record containing the template’s merge tags.

Exact response fields and any pagination behavior are not specified by the provided source pack.

Examples

Example 1: Retrieve merge tags for the active version of a template

Set Slug to the template’s URL-friendly identifier and leave Project ID and Version at 0 to use the team’s default project and the active template version.

Links

Discussion