POST
/
articles
Create article
curl --request POST \
  --url https://{your-workspace}.neetokb.com/api/v1/articles \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "article": {
    "title": "Getting Started",
    "slug": "getting-started",
    "html_content": "<h1>Welcome</h1><p>Example content</p>",
    "state": "draft",
    "page_title": "Getting Started",
    "meta_description": "A comprehensive guide to help you get started with our platform",
    "category": [
      "Category 1",
      "Category 2"
    ]
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "slug": "<string>",
  "permalink": "<string>"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
article
object

Response

200 - application/json

OK - Request succeeded

id
string<uuid>
slug
string