Cookie Categories
List cookie categories
Cookie Categories
List cookie categories
List all cookie categories
GET
/
cookie-categories
X-API-KEY
string
*
X-API-KEY
Required
string
limit
integer
limit
integer
Number of resources to return
offset
integer
offset
integer
Number of resources to skip
sort
string
sort
string
Field to sort by
order
enum<string>
order
enum<string>
Sort order
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
headerrequiredQuery Parameters
limit
integer
default: 20Number of resources to return
offset
integer
default: 0Number 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[]
data.name
string
requiredName of the cookie category that is displayed to users
data.description
string
requiredDescription of the cookie category that is displayed to users
data.required
boolean
requiredWhether the cookie category is required for the website to function
data.id
string
Unique identifier for the cookie category
data.created_at
string
Date and time when the cookie category was created
data.updated_at
string
Date and time when the cookie category was last updated
pagination
object
pagination.total
integer
Total number of resources
pagination.limit
integer
Number of resources to return
pagination.offset
integer
Number of resources to skip
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
}
}