curl --location --request PUT 'https://www.pacekb.com/api/v2/articles' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <api_key>' \--data-raw '{ "title": "How to create an article in PaceKB", "slug": "how-to-create-an-article-in-pacekb", "categories": [ { "value": "<id>" } ], "tags": [ { "value": "<id>" } ], "excerpt": "Find out how to create an article in PaceKB!", "ordering": 0, "status": "published", "content": "<h1>Getting Started</h1><p>This is how you can create an article in PaceKB...</p>", "hideFromSearch": false, "seoBannerUrl": "https://www.pacekb.com/seoBanner.png", "articleReviewDate": "2023-06-05T20:42:23.805Z"}'
Copy
{ "success": true, "message": "How to create an article in PaceKB has been created"}
Articles
Create Article
This endpoint creates a new article.
Copy
curl --location --request PUT 'https://www.pacekb.com/api/v2/articles' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <api_key>' \--data-raw '{ "title": "How to create an article in PaceKB", "slug": "how-to-create-an-article-in-pacekb", "categories": [ { "value": "<id>" } ], "tags": [ { "value": "<id>" } ], "excerpt": "Find out how to create an article in PaceKB!", "ordering": 0, "status": "published", "content": "<h1>Getting Started</h1><p>This is how you can create an article in PaceKB...</p>", "hideFromSearch": false, "seoBannerUrl": "https://www.pacekb.com/seoBanner.png", "articleReviewDate": "2023-06-05T20:42:23.805Z"}'
Copy
{ "success": true, "message": "How to create an article in PaceKB has been created"}
curl --location --request PUT 'https://www.pacekb.com/api/v2/articles' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <api_key>' \--data-raw '{ "title": "How to create an article in PaceKB", "slug": "how-to-create-an-article-in-pacekb", "categories": [ { "value": "<id>" } ], "tags": [ { "value": "<id>" } ], "excerpt": "Find out how to create an article in PaceKB!", "ordering": 0, "status": "published", "content": "<h1>Getting Started</h1><p>This is how you can create an article in PaceKB...</p>", "hideFromSearch": false, "seoBannerUrl": "https://www.pacekb.com/seoBanner.png", "articleReviewDate": "2023-06-05T20:42:23.805Z"}'
Copy
{ "success": true, "message": "How to create an article in PaceKB has been created"}