Create a docs article
Updated Dec 2, 2026
/docs/articlesCreates a draft, which readers don't see until you publish it. It goes last in its collection, starts at current_version 1 and takes its slug from the title. A draft's slug follows its title until you set one or publish the article.
Written articles count toward your plan's article limit, drafts included; pages from an API reference don't. At the limit nothing is created, and the answer is HTTP 200 with data.code: upgrade_required and the numbers in data.limit. A segment on a plan without user segmentation is refused the same way, without limit.
The key saves as its owner. Every create, update and publish counts toward that person's limit of 120 saves in 10 minutes, together with their saves in the dashboard, so pace a bulk import to stay under it.
Authorization
AuthorizationstringHeaderrequiredBearer <token>Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.
Request body required
application/jsontab_idintegerrequiredThe tab the article goes in, from GET /docs/structure.
collection_idintegerA collection of that tab, from GET /docs/structure. 0: the tab's top level. A collection of an API reference (api: true) is refused with 409 spec_owned.
titlestringrequiredOne line: line breaks become spaces.
minLength: 1maxLength: 200descriptionstringA one-line summary.
maxLength: 300contentstringThe body. Markdown (GitHub flavored), plus: alerts, > [!NOTE] alone on the first line of a quote (NOTE, TIP, IMPORTANT, WARNING, CAUTION); :::steps with a ### Title per step; ::::tabs holding :::tab{title="…"}; :::accordion{title="…"}; ::::cards{cols=2} holding :::card{title="…" icon="rocket" href="…"}; ::::code-group holding fenced code blocks; a code block's title on its opening fence, after the language (js title="app.js"); links to another article [text](docs:<article_id>). A container closes with a line of the same colons. Images: . Raw HTML is shown as text.
At most 1 MB. This API takes no uploads, so an image is an https address you link to.
segmentstringThe slug of the segment whose users may read the article. Empty or left out: everyone. A segment needs user segmentation on your plan.
maxLength: 255Responses
Created
statusstringdataDocsArticleThe published shape of a docs article. Text fields hold the saved working copy: while state is changed, readers still see the version last published. Fields are added over time and never removed: ignore any you do not recognise.
