Get Single Article

Retrieve a single article by the article ID

Get Single Article

GET https://{{account_id}}.acquire.io/api/v1/kb/article/single/{{groupId}}/{{articleId}}

Get a single article by the article ID. The groupId and articleId must be passed into the endpoint as path parameters.

Path Parameters

Name
Type
Description

groupId

integer

Specify the group id of the article

articleId

integer

Specify the id of the article

Headers

Name
Type
Description

Authorization

string

Bearer {{API_Key}}

{
    "data": {
        "success": true,
        "articles": {
            "id": 86,
            "groupId": {
                "id": 1
            },
            "title": "Updating the title of the articles",
            "description": "",
            "content": "<br/>\n",
            "jsonContent": {
                "blocks": [
                    {
                        "key": "8j0nq",
                        "text": "",
                        "type": "unstyled",
                        "depth": 0,
                        "inlineStyleRanges": [],
                        "entityRanges": [],
                        "data": {}
                    }
                ],
                "entityMap": {}
            },
            "articleSlug": "string",
            "featuresImage": null,
            "category": [],
            "relatedArticles": [
                {
                    "id": 2,
                    "title": "Test",
                    "articleSlug": "test"
                }
            ],
            "departments": [],
            "author": 0,
            "updatedBy": {
                "users": {
                    "28": {
                        "departments": [],
                        "roles": [
                            {
                                "id": 1,
                                "roleName": "Administrator"
                            }
                        ],
                        "id": 28,
                        "name": "myuser",
                        "firstName": "myuser",
                        "lastName": "",
                        "photo": "",
                        "email": "myuser@acquire.io",
                        "type": "user",
                        "accessLevel": null
                    }
                }
            },
            "createdBy": 0,
            "dateCreated": "2021-04-06T10:19:35.000Z",
            "dateUpdated": "2021-04-06T10:32:28.000Z",
            "autoRelated": "no",
            "botAssigned": "no",
            "access": "internal",
            "status": "draft",
            "seo": {
                "title": "string",
                "description": "string"
            },
            "tags": []
        }
    }
}

Last updated