Consent events
Create consent event(s)
Create new consent event(s) in a project.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidprojectId*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/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-events" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "consentState": "implied", "consentAction": "implied" } ] }'{ "count": 0, "items": [ { "createdAt": [ null ], "updatedAt": [ null ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "concordId": "760edce0-71d3-4d36-9815-0fe2c82918c4", "consentAction": "implied", "consentDate": "2019-08-24T14:15:22Z", "consentState": "implied", "dateCreated": "2019-08-24T14:15:22Z", "dateUpdated": "2019-08-24T14:15:22Z", "consentType": "a515a452-3279-4c13-93bc-8c2d7e9c9435", "expirationDate": "2019-08-24T14:15:22Z", "organization": "452c1a86-a0af-475b-b03f-724878b0f387", "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2", "session": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "domain": "localhost", "geography": "string", "userAgent": "string" }, "submitter": "964f4f42-dd1d-490a-820e-178a1fde1685", "category": "disclosure", "subcategory": "privacy_policy", "label": "string", "version": 0 } ]}