Help center
Limit a collection to an audience
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the articles:write ability
Path parameters
collectionstringrequiredId of the help center collection, starting with col_, such as col_01jx2m8k4t. Find it with GET /help-centers/{help_center}/collections.
Body
application/jsonaudience_idstring | nullrequiredId of the saved audience (audn_...) that may read it; null or empty opens it to everyone.
Maximum length: 64
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
audience_idstring | nullrequiredId of the audience allowed to see this collection, starting with audn_. Null when it is not limited to an audience.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
descriptionstring | nullrequiredText describing what the collection holds. Null when none was written.
help_center_idstringrequiredId of the help center the collection belongs to, starting with hc_. Send it wherever a help center is asked for.
iconstring | nullrequiredThe icon shown beside the collection. Null when none is set.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe collection's name as readers see it.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
parent_idstring | nullrequiredId of the collection this one sits inside, starting with col_. Null for a top-level collection.
positionintegerrequiredThe collection's place among its siblings; lower comes first.
Format: int32
slugstringrequiredThe collection's URL name within the help center, such as getting-started.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.