Consent events
Export consent events
Exports consent events as a CSV or JSON document. Creates a document with the export file as an asset.
x-api-key<token>
In: header
Path Parameters
organizationIdstring
Format
uuidstartDatestring
Format
date-timeendDatestring
Format
date-timeprojectId?string
Format
uuidformatstring
Value in
"csv" | "json"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.concord.tech/privacy-v1/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" }'{}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Forbidden"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Forbidden"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "string"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}