Skip to content

Message templates

SMS and email templates. Messages are sent through /messages.

Module: Clients (parties).

  • GET /api/v1/message_templates - List with filters, sorting and pagination (scope parties:read)
  • GET /api/v1/message_templates/{id} - A record by id (scope parties:read)
  • POST /api/v1/message_templates - Create a record (scope parties:write)
  • PATCH /api/v1/message_templates/{id} - Modify the submitted fields (scope parties:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • key (string; write, required)
  • channel (string; write, required)
  • label (string; read)
  • subject (string; write)
  • body (string; write, required)
  • is_active (boolean; write): Whether the record is active.
  • sort_order (integer; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).