Skip to content

Contact consents

Register of email and SMS consents and withdrawals. Append only: the last row gives the current state.

Module: Clients (parties).

  • GET /api/v1/contact_consents - List with filters, sorting and pagination (scope parties:read)
  • GET /api/v1/contact_consents/{id} - A record by id (scope parties:read)
  • POST /api/v1/contact_consents - Create a record (scope parties:write)
  • 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).
  • contact_consents.created
  • contact_consents.updated
  • contact_consents.deleted