curl --location --request GET 'https://www.pacekb.com/api/v2/categories/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": {
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"order_by": 20,
"parent_id": "<id>",
"thumbnail_url": "https://pacekb.com/img.png",
"description": "Getting started with PaceKB is easy!",
"long_description": "<p>It's simple to get started with PaceKB</p>",
"icon_url": "https://pacekb.com/icon.png",
"language": null,
"language_parent": null
},
"newVersion": true
}
This endpoint gets a specific category from your Knowledge Base.
curl --location --request GET 'https://www.pacekb.com/api/v2/categories/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": {
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"order_by": 20,
"parent_id": "<id>",
"thumbnail_url": "https://pacekb.com/img.png",
"description": "Getting started with PaceKB is easy!",
"long_description": "<p>It's simple to get started with PaceKB</p>",
"icon_url": "https://pacekb.com/icon.png",
"language": null,
"language_parent": null
},
"newVersion": true
}
Show Toggle object
curl --location --request GET 'https://www.pacekb.com/api/v2/categories/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": {
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"order_by": 20,
"parent_id": "<id>",
"thumbnail_url": "https://pacekb.com/img.png",
"description": "Getting started with PaceKB is easy!",
"long_description": "<p>It's simple to get started with PaceKB</p>",
"icon_url": "https://pacekb.com/icon.png",
"language": null,
"language_parent": null
},
"newVersion": true
}