Cookies
List cookies
Cookies
List cookies
List all cookies
GET
/
cookies
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
category_id
string
category_id
string
ID of the cookie category to filter by
curl --request GET \
--url https://cookiechimp.com/api/v1/cookies \
--header 'X-API-KEY: <api-key>'
{
"data": [
{
"company_name": "Example Company Name",
"description": "Tracks user preferences.",
"domain": "www.example.com",
"duration": "1 year",
"last_seen_at": "2023-03-23T12:34:56Z",
"name": "user-pref-cookie",
"partitioned": false,
"path": "/",
"same_site": "Lax",
"cookie_category_id": "cat1",
"status": "finalised",
"approved_by_type": "AI",
"wildcard_cookie_id": null,
"id": "user-pref-cookie",
"is_wildcard_cookie": false
}
],
"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
category_id
string
ID of the cookie category to filter by
Response
200 - application/json
data
object[]
data.name
string
requiredName of the cookie
data.description
string
Description of the cookie that is displayed to users
data.company_name
string
Name of the company that owns the cookie
data.domain
string
Domain of the cookie
data.duration
string
Duration of the cookie
data.partitioned
boolean
Whether the cookie is partitioned
data.path
string
Path of the cookie
data.same_site
string
SameSite attribute of the cookie
data.cookie_category_id
string
ID of the cookie category
data.id
string
Unique identifier for the cookie
data.last_seen_at
string
data.status
enum<string>
default: draftAvailable options:
draft
, processing
, in_review
, finalised
data.approved_by_type
string | null
data.approved_by_id
string | null
data.wildcard_cookie_id
string | null
data.is_wildcard_cookie
boolean
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/cookies \
--header 'X-API-KEY: <api-key>'
{
"data": [
{
"company_name": "Example Company Name",
"description": "Tracks user preferences.",
"domain": "www.example.com",
"duration": "1 year",
"last_seen_at": "2023-03-23T12:34:56Z",
"name": "user-pref-cookie",
"partitioned": false,
"path": "/",
"same_site": "Lax",
"cookie_category_id": "cat1",
"status": "finalised",
"approved_by_type": "AI",
"wildcard_cookie_id": null,
"id": "user-pref-cookie",
"is_wildcard_cookie": false
}
],
"pagination": {
"total": 100,
"limit": 20,
"offset": 0
}
}