Consent Types
Get consent types
Compliance Requests
Consent State
Consent Types
Trackers
Health Check
Session
Site Client
Consent Types
Get consent types
Get the consent types for the current project.
GET
/
{projectId}
/
consent-types
curl --request GET \
--url https://api.concord.tech/site-v1/{projectId}/consent-types \
--header 'x-session: <api-key>'
{
"offset": 123,
"count": 123,
"total": 123,
"items": [
{
"createdAt": [
"<any>"
],
"updatedAt": [
"<any>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "disclosure",
"subcategory": [
"<any>"
],
"label": "<string>",
"version": 123,
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"document": "<string>",
"url": "<string>",
"readOnly": false,
"validStates": [
"implied"
],
"status": "active",
"consentDuration": "<string>",
"required": false,
"requireReacceptVersion": 123
}
]
}
Authorizations
Path Parameters
Response
200
application/json
Default Response
Maximum length:
100
Maximum length:
2000
Available options:
disclosure
, communication
, privacy_setting
, custom
Maximum length:
128
Maximum length:
5000000
Available options:
implied
, viewed
, accepted
, declined
Available options:
active
, archived
, obsolete
, test
curl --request GET \
--url https://api.concord.tech/site-v1/{projectId}/consent-types \
--header 'x-session: <api-key>'
{
"offset": 123,
"count": 123,
"total": 123,
"items": [
{
"createdAt": [
"<any>"
],
"updatedAt": [
"<any>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "disclosure",
"subcategory": [
"<any>"
],
"label": "<string>",
"version": 123,
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"document": "<string>",
"url": "<string>",
"readOnly": false,
"validStates": [
"implied"
],
"status": "active",
"consentDuration": "<string>",
"required": false,
"requireReacceptVersion": 123
}
]
}