API Reference
Reference for the API
List all categories
cURL
curl --request GET \ --url https://cookiechimp.com/api/v1/categories \ --header 'Authorization: <api-key>'
{ "pagination": { "prev_url": "/api/v1/categories?page=", "next_url": "/api/v1/categories?page=2", "count": 4, "page": 1, "prev": null, "next": 2 }, "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" } ] }
Number of resources to return
1 <= x <= 100
Number of resources to skip
x >= 0
Field to sort by
Sort order
asc
desc
List of categories
The response is of type object.
object
Was this page helpful?