Skip to content
dimmiDocs

Help center

Edit an article

PATCH/api/v1/articles/{article}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the articles:write ability

Path parameters

articlestringrequired

Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles.

Body

application/json
body_markdownstring

The full new article in Markdown, at most 256 KB; it replaces the old text entirely.

Maximum length: 262144

collection_idstring

Id of a collection (col_...); an empty text leaves the article unfiled.

Maximum length: 64

descriptionstring

The description of the article, at most 300 characters.

Maximum length: 300

lock_versioninteger

The lock_version the article had when you read it. Send it with every save.

Format: int32

slugstring

The part of the address that names it, in lowercase words joined by hyphens, such as refund-policy.

Maximum length: 120

statusstring

draft unpublishes a published article; archived archives it. Versions are kept.

Available options:draftarchived

titlestring

The title of the article, at most 150 characters.

Maximum length: 150

visibilitystring

public or agent_only (never shown publicly, only teaches the AI agent).

Available options:publicagent_only

Response 200

OK
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.