Create Help Center category

Creates a category in the site, with its first translation in language. The language must be enabled for the site.

The category is created at the top level, or under parent_id, a category of the same site. Categories can be nested at most 3 levels deep, so a category created under a third-level category fails with 409. The parent does not need a translation in language.

position places the category in its level: 0 makes it the first one, and a position past the end makes it the last one. Without position, the category is created as the last one in its level.

Add translations in other languages with PUT /help-center/categories/{categoryId}/translations/{language}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the Help Center site

Body Params
string
required

Language of the first translation. Must be enabled for the site.

string
required
length ≤ 255

Name of the category in this language

string | null

Description of the category in this language

string | null

Icon of the category: the URL of an image, or the name of a built-in icon

string | null

Category to create this category under. It must belong to the same site. Omit it, or send null, to create a top-level category.

integer
≥ 0

0-based index of the category among its siblings, the categories with the same parent_id. A position past the end places it last. Omit it to place the category last. Unlike the position of a returned category, this is an index, not a sort key.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; version=1