Consent events
Export consent events
Starts a background export of consent events as a CSV or JSON document. Returns the export document immediately, tagged export-pending; poll it until an asset appears (ready) or it carries the export-failed tag.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-events/export" \ -H "Content-Type: application/json" \ -d '{ "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "format": "csv" }'{}