List Knowledge Base Categories
GET/api/knowledge-base/categories
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| type | String | optional Optional area filter, knowledge_base or help. Defaults to knowledge_base |
| include_internal | Boolean | optional Optional, set to 1 to include the internal help area. Defaults to 0 |
curl -X GET "https://yoursite.com/api/knowledge-base/categories" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
[
{
"id": "3",
"title": "Getting started",
"type": "knowledge_base",
"status": "active",
"sort": "1",
"articles_order": "A-Z",
"total_articles": "8"
}
]