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.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..json.gz
.[
or end with ]
. Every line of the file is an independent JSON object and the file is read by splitting every line and processing every line independently.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.