Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Help Center → Add New Category To Account

AI-generated

Summary

Add a new category to a Help Center account by specifying attributes like name, description, position, slug, locale, icon, and categorization details including parent and associated category IDs.

Inputs

  • Name (required) — The name of the new category.
  • Description (required) — A description for the category.
  • Position (required) — Sort order position of the category in the portal list.
  • Slug (required) — URL slug identifying the category.
  • Locale (required) — Locale (language code) for the category content.
  • Icon (required) — An emoji string representing the category icon.
  • Parent Category Id (required) — ID of the parent category to create subcategory hierarchy.
  • Associated Category Id (required) — ID of a similar category to associate, for example across different localizations.

Output shape

a single record

Returns the details of the newly created category. The response shape corresponds to the API's category object schema. If the operation fails, an error will be raised.

Links

Discussion