c82339816c36
Retrieve events
Returns a list of events for a given organization ID and user ID or organization user ID
Query parameters
The ID of the organization for which to retrieve events
The Didomi user ID for which to retrieve events. You must provide either user_id or organization_user_id when querying events
The organization user ID for which to retrieve events. You must provide either user_id or organization_user_id when querying events
Filter events according to their status (possible values: confirmed, pending_approval). If this field is missing, only confirmed events are returned. To filter on multiple statuses in a single request, use the notation status[$in]: ?status[$in]=confirmed&status[$in]=pending_approval.
Filter events according to their regulation. Possible value is any existing regulation in the Regulations API (/compliance/v1/regulations). If this field is missing, only GDPR events are returned. To filter on multiple regulations in a single request, use the notation regulation[$in]: ?regulation[$in]=gdpr®ulation[$in]=cpra.
Response
A list of ConsentEvent objects