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
The response is of type object
.
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
}
]
}