ื“ืœื’ ืœืชื•ื›ืŸ ื”ืจืืฉื™

Knowledge Base Endpoints

Manage knowledge base articles and categories.

Base Pathโ€‹

/api/knowledge-base

Article Endpointsโ€‹

List Articlesโ€‹

GET /api/knowledge-base/article
Authorization: Bearer {token}

Create Articleโ€‹

POST /api/knowledge-base/article
Authorization: Bearer {token}
{
"name": "How to Track Time",
"data": "<h1>Time Tracking Guide</h1><p>Follow these steps...</p>",
"categoryId": "category-uuid",
"privacy": "PUBLIC",
"index": 1
}

Update Articleโ€‹

PUT /api/knowledge-base/article/:id
Authorization: Bearer {token}

Delete Articleโ€‹

DELETE /api/knowledge-base/article/:id
Authorization: Bearer {token}

Category Endpointsโ€‹

List Categoriesโ€‹

GET /api/knowledge-base/category
Authorization: Bearer {token}

Create Categoryโ€‹

POST /api/knowledge-base/category
Authorization: Bearer {token}
{
"name": "Getting Started",
"description": "Beginner guides",
"icon": "book-outline",
"color": "#3366FF"
}

Article Privacyโ€‹

ValueDescription
PUBLICVisible to all
PRIVATEOrganization only