Consent state

Get consent state

Get the current consent state for the current user.

GET
/{projectId}/consent-state
x-session<token>

In: header

Path Parameters

projectIdstring
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.concord.tech/site-v1/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-state"
{
  "count": 0,
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "concordId": "760edce0-71d3-4d36-9815-0fe2c82918c4",
      "consentState": "string",
      "consentDate": "2019-08-24T14:15:22Z",
      "consentType": "a515a452-3279-4c13-93bc-8c2d7e9c9435",
      "category": "string",
      "subcategory": "string",
      "label": "string",
      "version": 0,
      "url": "string"
    }
  ]
}
{
  "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"
}