Tcf purpose management

Get TCF purposes from GVL

Retrieve IAB TCF purposes, special purposes, features, or special features from the Global Vendor List.

GET
/organizations/{organizationId}/projects/{projectId}/tcf-purposes
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid
projectIdstring
Formatuuid

Query Parameters

type?string
Default"purpose"
Value in"purpose" | "specialPurpose" | "feature" | "specialFeature" | "stack" | "dataCategory"
ids?string
search?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/tcf-purposes"
{
  "gvlSpecificationVersion": 0,
  "vendorListVersion": 0,
  "tcfPolicyVersion": 0,
  "type": "string",
  "purposes": [
    {
      "id": 0,
      "name": "string",
      "description": "string",
      "descriptionLegal": "string",
      "illustrations": [
        "string"
      ],
      "purposes": [
        0
      ],
      "specialPurposes": [
        0
      ],
      "features": [
        0
      ],
      "specialFeatures": [
        0
      ]
    }
  ],
  "count": 0
}
{
  "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"
}