# API: Get knowledgebase category articles
# getKBCategoryArticles
Get a list of articles from the category
# Required parameters
Parameter | Description |
---|---|
id | Category id |
# Optional parameters
Parameter | Description |
---|---|
brand_id | If multibrand module is enabled, specify brand id to limit results to given brand |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getKBCategoryArticles&id=ID
# PHP Samples
# Response
{
"success": true,
"articles": [
{
"id": "20",
"title": "Nullam sed malesuada",
"body": "Pellentesque dui nulla, scelerisque nec tortor in, sagittis pharetra nibh. Duis et mi et nibh pulvinar congue et non ...",
"views": "2",
"upvotes": "0",
"downvotes": "0",
"tags": []
},
{
"id": "21",
"title": "Curabitur consequat",
"body": "Duis eleifend, turpis a varius euismod, nunc turpis interdum odio, non semper dui felis quis eros. Fusce et erat eget ...",
"views": "7",
"upvotes": "2",
"downvotes": "0",
"tags": []
}
],
"call": "getKBCategoryArticles",
"server_time": 1554896433
}