Skip to content
Articles

Create an article

Understanding how to use FeatureOS API to build custom integrations.

Introduction

The FeatureOS create article API allows you to create a new article in your knowledge base.

POST https://api.featureos.app/api/v3/articles
curl -X POST 'https://api.featureos.app/api/v3/articles' \
  -H 'API-KEY: YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Headers

Parameter Default Description
API-KEY - Generate from organization settings on the admin dashboard.
Authorization - Generate a unique JWT token specific to a user.

Body Parameters

Parameter Required Format Description
title true String The title of the article. Also used to generate the slug.
description false Text The content of the article. HTML is allowed.
collection_id true Integer The ID of the collection this article belongs to.
status false String The article status: draft or published. Defaults to draft.
privacy false String The article privacy: public, unlisted, or private. Defaults to public.
locale false String Language code for the article (e.g., en, es, fr). Defaults to the organization's default language.
seo_title false String Custom SEO title for the article.
seo_description false String Custom SEO meta description.
cover_image false File Cover image for the article. Accepts jpeg, jpg, png, or gif. Max 10 MB.
tag_ids false Array IDs of tags to attach to the article.
assignee_ids false Array IDs of team members to assign to the article.

Sample response