Skip to main content

Method

GET /v1/comms/templates

Query Parameters

string
Filter by delivery channel (e.g., email, sms, whatsapp, push_notification).
string
Filter by purpose (transactional or marketing).
string
Filter by status (draft, active, inactive, archived).

Headers

string
Bearer token (requires comms:read).

Request Example

Response Fields

Each template item includes:
  • id – Template ID (UUID).
  • workspace_id – Workspace owning the template.
  • name – Human-readable name.
  • key – Unique key used when sending notifications.
  • channel – Delivery channel.
  • purposetransactional or marketing.
  • status – Lifecycle status (draft, active, inactive, archived).
  • created_at / updated_at – ISO timestamps.

Response Example

Filters are applied server-side after fetching workspace templates. Provide multiple parameters to narrow the list (e.g., email + active transactional templates).