GET
/
cookie-categories
curl --request GET \
  --url https://cookiechimp.com/api/v1/cookie-categories \
  --header 'X-API-KEY: <api-key>'
{
  "data": [
    {
      "id": "essential",
      "name": "Essential",
      "description": "Cookies essential for website functionality",
      "required": true,
      "created_at": "2023-01-01T00:00:00Z",
      "updated_at": "2023-01-02T00:00:00Z"
    }
  ],
  "pagination": {
    "total": 100,
    "limit": 20,
    "offset": 0
  }
}

Authorizations

X-API-KEY
string
headerrequired

Query Parameters

limit
integer
default: 20

Number of resources to return

offset
integer
default: 0

Number of resources to skip

sort
string

Field to sort by

order
enum<string>

Sort order

Available options:
asc,
desc

Response

200 - application/json
data
object[]
pagination
object