Retrieve a category
Retrieve a category by its unique key identifier categoryId
, along with its sub-categories.
Authorization<token>
API key authentication.
--header 'Authorization: Bearer <VOIDFULL_API_KEY>'
In: header
Path Parameters
siteIdstring
The ID of the site
categoryIdstring
The ID of the category
Response Body
curl -X GET "https://api.app.voidfull.com/api/v1/sites/string/category/string"
{
"category": {
"id": "string",
"name": "string",
"slug": "string",
"description": "string",
"icon": "string",
"parentId": "string",
"status": "active",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"subCategories": [
{
"id": "string"
}
]
}