Skip to main content
A template is a reusable notification design that defines the content, delivery channels, and personalization variables for a notification. Every notification — whether sent via campaign or API — flows through a template.

Template Properties

Content Types

Variables

Variables allow per-recipient personalization in notification content.
  • Syntax: {{variable_name}} in template content
  • Naming: Letters, numbers, and underscores only (^[a-zA-Z_][a-zA-Z0-9_]*$)
  • Type: Selected from a dropdown with the following options:
defaultValue is only supported for string type variables. Image and action variables do not support defaults.
  • Resolution: Per-user values are passed at send time in the variables field

Template Versioning

Templates are versioned to maintain a history of changes:
  • Templates start at version 1
  • Editing an approved template auto-bumps the version (creates a new snapshot)
  • You can manually create a version via the “New Version” button
  • Campaigns pin to a specific templateVersion at send time
  • Old versions are immutable — safe for historical reference
To access old versions via API, use Get Template — the response includes a versions array with all previous versions.

Channel Configuration

Each template has one or more channel configurations:

Template Statuses

Only templates with approved status can be used to send notifications. Archived templates are hidden and cannot be used.