Message templates
SMS and email templates. Messages are sent through /messages.
Module: Clients (parties).
Endpoints
Section titled “Endpoints”GET /api/v1/message_templates- List with filters, sorting and pagination (scopeparties:read)GET /api/v1/message_templates/{id}- A record by id (scopeparties:read)POST /api/v1/message_templates- Create a record (scopeparties:write)PATCH /api/v1/message_templates/{id}- Modify the submitted fields (scopeparties:write)
Fields
Section titled “Fields”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).