Consent Events

Get consent event by ID

GET
/{projectId}/consent-events/{id}

Get a consent event by ID.

Authorization

SessionAuth
headerx-session<token>

Path Parameters

id*string
Formatuuid
projectId*string
Formatuuid

Response Body

Default Response

application/json
  1. response
createdAt?array<unknown>|boolean|number||string
updatedAt?array<unknown>|boolean|number||string
id*string
Formatuuid
concordId*string
Formatuuid
consentAction*string
Value in"implied""user_click"
consentDate*string
Formatdate-time
consentState*string
Value in"implied""viewed""accepted""declined"
dateCreated?string
Formatdate-time
dateUpdated?string
Formatdate-time
consentType?|
expirationDate*string
Formatdate-time
organization?|
project?|
session?
submitter?string
Formatuuid
category?|
subcategory?||||||||
label?string
Match[a-z0-9_*]{1,128}$
Lengthlength <= 128
version?integer
Example Request
curl -X GET 'https://api.concord.tech/site-v1/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-events/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "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}