Batch import
You can use our regular POST /consent/events
to import up to 100 events per request by sending a JSON-encoded array of events instead of a single event in the body of the request.
Example:
We recommend adding a unique ID for every event in the id
field as that guarantees that events are never imported twice. You can also add a creation date in the created_at
field to import events that were collected in the past and keep their original collection date.
The full schema for a consent event is supported. You can read more about creating consent events and their schema in our Guide or our API documentation.
Last updated