Contact consents
Register of email and SMS consents and withdrawals. Append only: the last row gives the current state.
Module: Clients (parties).
Endpoints
Section titled “Endpoints”GET /api/v1/contact_consents- List with filters, sorting and pagination (scopeparties:read)GET /api/v1/contact_consents/{id}- A record by id (scopeparties:read)POST /api/v1/contact_consents- Create a record (scopeparties:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).party_id(string, uuid; write)channel(string; write, required)address(string; write, required)granted(boolean; write, required)source(string; write, required)proof(string; write)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).
Events
Section titled “Events”contact_consents.createdcontact_consents.updatedcontact_consents.deleted