curl --location --request GET 'https://www.pacekb.com/api/v2/articles/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
  "success": true,
  "message": "Article found successfully",
  "data": {
    "id": "<id>",
    "tags_relationship": [
        {
            "id": "<id>",
            "tag_id": "<id>"
        }
    ],
    "article_relationships": [
        {
            "id": "<id>",
            "category_id": "<id"
        }
    ],
    "name": "How to create a PaceKB Knowledge Base",
    "content": "<p>This is how you can get started with creating a PaceKB Knowledge Base</p>",
    "slug": "how-to-create-a-pacekb-knowledge-base",
    "excerpt": "Starting a Knowledge Base is made easy with PaceKB",
    "order_by": 20,
    "status": "published",
    "created_date": "2023-06-05T20:42:23.805Z",
    "article_parent": "<id>",
    "last_edited_Date": "2023-06-05T20:42:23.805Z",
    "seo_banner_url": "https://pacekb.com/img.png",
    "hide_from_search": true,
    "article_review_date": "2023-06-05T20:42:23.805Z",
    "language": null,
    "language_parent": null
  },
  "isDraft": {
    "id": "<id>"
  },
  "newVersion": true,
  "categories": [
    {
        "id": "<id>",
        "label": "Getting Started",
        "value": "<id>",
    },
  ],
  "tags": [
    {
        "id": "<id>",
        "label": "Getting Started",
        "value": "<id>",
    }
  ]
}

Response

success
boolean
Indicates whether the call was successful.
message
string
If there’s an error an accompanying error message will be visible
data
object
Article data
isDraft
object
newVersion
boolean
Returns true if this is a copy into a new language that does not exist
categories
array
tags
array
curl --location --request GET 'https://www.pacekb.com/api/v2/articles/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
  "success": true,
  "message": "Article found successfully",
  "data": {
    "id": "<id>",
    "tags_relationship": [
        {
            "id": "<id>",
            "tag_id": "<id>"
        }
    ],
    "article_relationships": [
        {
            "id": "<id>",
            "category_id": "<id"
        }
    ],
    "name": "How to create a PaceKB Knowledge Base",
    "content": "<p>This is how you can get started with creating a PaceKB Knowledge Base</p>",
    "slug": "how-to-create-a-pacekb-knowledge-base",
    "excerpt": "Starting a Knowledge Base is made easy with PaceKB",
    "order_by": 20,
    "status": "published",
    "created_date": "2023-06-05T20:42:23.805Z",
    "article_parent": "<id>",
    "last_edited_Date": "2023-06-05T20:42:23.805Z",
    "seo_banner_url": "https://pacekb.com/img.png",
    "hide_from_search": true,
    "article_review_date": "2023-06-05T20:42:23.805Z",
    "language": null,
    "language_parent": null
  },
  "isDraft": {
    "id": "<id>"
  },
  "newVersion": true,
  "categories": [
    {
        "id": "<id>",
        "label": "Getting Started",
        "value": "<id>",
    },
  ],
  "tags": [
    {
        "id": "<id>",
        "label": "Getting Started",
        "value": "<id>",
    }
  ]
}