Ferndesk

Create an article

Creates an article as an open draft. The article is not live until you publish it.

POST /v1/articles
Bearer token scope content:write

Body

required application/json
title string · min length: 1 required

Article title.

content any

Body as a Tiptap document; not accepted alongside markdown.

markdown string

Body as Markdown, converted to rich text on write; not accepted alongside content.

publish boolean · default: false

Publishes the new article in the same call instead of leaving an open draft.

sectionId string · min length: 1 required

Section to create the article in.

collectionId string | null

Collection to group the article under.

keywords string

Comma-separated SEO keywords.

metaDescription string

SEO meta description.

Responses