Categories
Get category
Categories
Get category
Get category by ID
GET
/
categories
/
{id}
curl --request GET \
--url https://cookiechimp.com/api/v1/categories/{id} \
--header 'Authorization: <api-key>'
{
"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"
}
Authorizations
Path Parameters
ID of the resource
Response
200
application/json
Category
The response is of type object
.
curl --request GET \
--url https://cookiechimp.com/api/v1/categories/{id} \
--header 'Authorization: <api-key>'
{
"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"
}