Skip to content
dimmiDocs

Help center

Create a collection

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

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
descriptionstring

The description of the collection, at most 300 characters.

Maximum length: 300

iconstring

An icon as one emoji, such as 📦.

Maximum length: 40

namestring

The name of the collection, at most 80 characters.

Maximum length: 80

parent_idstring

Id of the parent collection, starting with col_, such as col_01jx2m8k4t. When creating: leave it out for a top-level collection. When updating: it moves the collection under that parent, and an empty text moves it to the top level.

Maximum length: 64

positioninteger

Order among its siblings, lowest first.

Format: int32

slugstring

Lowercase letters, digits and single dashes, unique in the help center.

Maximum length: 80

Response 201

Created
dataobjectrequired
Show child attributes
audience_idstring | nullrequired

Id of the audience allowed to see this collection, starting with audn_. Null when it is not limited to an audience.

created_atstringrequired

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

Format: date-time

descriptionstring | nullrequired

Text describing what the collection holds. Null when none was written.

help_center_idstringrequired

Id of the help center the collection belongs to, starting with hc_. Send it wherever a help center is asked for.

iconstring | nullrequired

The icon shown beside the collection. Null when none is set.

idstringrequired

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

namestringrequired

The collection's name as readers see it.

objectstringrequired

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

parent_idstring | nullrequired

Id of the collection this one sits inside, starting with col_. Null for a top-level collection.

positionintegerrequired

The collection's place among its siblings; lower comes first.

Format: int32

slugstringrequired

The collection's URL name within the help center, such as getting-started.

updated_atstringrequired

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

Format: date-time

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.