# API: Get knowledgebase article

# getKBArticle

Get knowledgebase article by its ID.

# Required parameters

Parameter Description
id Article id

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getKBArticle&id=ID

# PHP Samples

# Response

{
    "success": true,
    "article": {
        "id": "1",
        "language_id": "1",
        "cat_id": "1",
        "title": "English title",
        "body": "English article",
        "registered": "0",
        "options": "0",
        "sort_order": "0",
        "views": "1",
        "slug": "polish-title",
        "upvotes": "0",
        "downvotes": "0",
        "tag_title": {
            "1": "English title",
            "7": "Chinese title",
            "8": "Bulgarian title",
            "10": "\u0639\u0646\u0648\u0627\u0646 \u0639\u0631\u0628\u064a",
            "12": "Test language title",
            "14": "German title",
            "15": "Polish title"
        },
        "tag_body": {
            "1": "English article",
            "7": "Chinese body",
            "8": "Bulgarian body",
            "10": "Arabic body",
            "12": "Test language body",
            "14": "German body",
            "15": "Polish body"
        },
        "tags": {
            "721": "tag"
        },
        "tag_slug": {
            "1": "polish-title",
            "7": "",
            "8": "",
            "10": "",
            "12": "",
            "14": "",
            "15": ""
        },
        "mode": {
            "1": 0,
            "7": 0,
            "8": 0,
            "10": 0,
            "12": 0,
            "14": 0,
            "15": 0
        }
    },
    "call": "getKBArticle",
    "server_time": 1687446849
}
Last Updated: 10/7/2024, 2:36:43 PM