GET
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
consent-types
curl --request GET \
  --url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects/{projectId}/consent-types \
  --header 'x-api-key: <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

x-api-key
string
header
required

Path Parameters

organizationId
string
required
projectId
string
required

Query Parameters

category
Available options:
disclosure,
communication,
privacy_setting,
custom
subcategory
(string | enum<string>)[]
label
name
string
Maximum length: 100
url
string
version
number
sort
string
order
string
offset
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 1000
status
Available options:
active,
archived,
obsolete,
test

Response

200
application/json
Default Response
offset
integer
count
integer
total
integer
items
object[]