Get Specific Article
This endpoint gets a specific article from your Knowledge Base.
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
Indicates whether the call was successful.
If there’s an error an accompanying error message will be visible
Article data
The unique ID of the article
The name of the article
The HTML article content
The slug of the article
The SEO excerpt of the article
The numbered ordering priority of article
The article status: (published, draft, draftCopy)
Date when article was created
If article is a draft this is the Parent ID of published article
Date when article was last edited
Image URL of the SEO Banner
Should this article be hidden from search?
Date when article should next be reviewed
The language code of the article (null = English)
ID of the English version of article (null = English copy)
Returns true if this is a copy into a new language that does not exist
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>",
}
]
}
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>",
}
]
}