v6

OpenAPI 3.0.02026-08-044760291.8 KB
CMS

Create an article (draft) from a pre-built outline

Create a draft article. This does NOT generate the body content. For a fully AI-written article, prefer generate_article (which produces the outline and the content in one step). Use this only when you already have an outline from generate_outline and want manual control: pass that outline under articleOutline (see its description), then call start_article_generation with the returned slug to write the content.

post/v3/cms/articles

Request body

teamIdstring

Team id (falls back to the session's active project).

titlestring required

Article title.

contentstring

Optional markdown body. Leave empty for a draft you will fill via start_article_generation.

typestring

Article type: listicle | guide | comparison | review | news (or blog for a generic post). Must match the outline's structure.

statusstring
contentArticleTypestring nullable

"pillar" or "cluster" for pillar/cluster content, null/omitted for generic posts.

authorNamestring
topicIdstring required

Required. Id of the team's topic cluster this article belongs to — get it from topic_clusters_list, or create one with create_topic_cluster. The topic name is taken from this cluster (do not pass a free-text topic).

articleOutlineobject

Outline wrapper consumed by the generator. Shape: { generateOutlineResponse: <the FULL object returned by generate_outline>, outlineAdditionalElements: { targetWordCount:number, _shouldIncludeFAQ:boolean, _shouldIncludeTldr:boolean, _shouldIncludeConclusion:boolean, _shouldIncludeCTA:boolean }, outlineNonEditable: { introduction: { estimated_words:150 }, conclusion?: { estimated_words:150 } }, audience_level:'auto', content_tone?:string }. Do NOT hand-author the outline — obtain it from generate_outline and pass it through unchanged.

internalLinkTargetSlugsstring[]

Slugs of existing SnowSEO articles to link out to (internal links).

internalLinkTargetUrlsstring[]

Absolute http(s) URLs to link out to that are not SnowSEO articles.

Response

Default Response