Skip to content
dimmiDocs

Help center

Create an article draft

POST/api/v1/help-centers/{help_center}/articles

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the articles:write ability

Path parameters

help_centerstringrequired

Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.

Body

application/json
body_markdownstring

The article in Markdown, at most 256 KB.

Maximum length: 262144

collection_idstring

Id of the collection (col_...) to file it under; leave out to leave it unfiled.

Maximum length: 64

descriptionstring

The description of the article, at most 300 characters.

Maximum length: 300

slugstring

Lowercase letters, digits and single dashes; made from the title when left out.

Maximum length: 120

titlestring

The title of the article, at most 150 characters.

Maximum length: 150

visibilitystring

public (default) can be shown to readers; agent_only is never shown publicly and only teaches the AI agent.

Available options:publicagent_only

Response 201

Created
dataobjectrequired
Show child attributes
audience_idstring | nullrequired

Id of the saved audience set on the article, such as audn_... Null when none is set.

body_markdownstring

The article's working copy as Markdown. Left out in lists; read one article to get it.

collection_idstring | nullrequired

Id of the collection the article sits in, such as col_... Null when it is in none.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

descriptionstring | nullrequired

Short summary of the article. Null when none was written.

has_unpublished_changesbooleanrequired

True when the article is published and its working copy has edits that are not live yet.

help_center_idstringrequired

Id of the help center the article belongs to, such as hc_...

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

lock_versionintegerrequired

Counter that goes up with each save. Send the value you read when updating so an edit made in between is not overwritten.

Format: int32

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

published_atstring | nullrequired

When the article was published. Null when it never was.

Format: date-time

slugstringrequired

The article's part of its web address: up to 120 lowercase letters, digits and hyphens, such as reset-your-password.

statusstringrequired

Where the article stands: draft, published or archived.

titlestringrequired

The article's title.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

visibilitystringrequired

Who can read the article: public (anyone in the help center) or agent_only (not shown to the public).

word_countintegerrequired

How many words the article's body has.

Format: int32

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.