curl -X GET "https://yoursite.com/api/knowledge_base" \
-H "authtoken: YOUR_API_TOKEN"
Success-Response:
HTTP/1.1 200 OK
{
"data": [
{
"articleid": "12",
"articlegroup": "3",
"subject": "How to reset your account password",
"slug": "how-to-reset-your-account-password",
"description": "<p>Open Settings > Security and click Reset password.</p>",
"active": "1",
"datecreated": "2026-02-14 09:32:10",
"article_order": "1",
"staff_article": "0"
}
],
"meta": {
"page": 1,
"per_page": 20,
"total": 8,
"total_pages": 1,
"has_more": false,
"current_page": 1,
"last_page": 1
}
}
Error-Response:
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}