Skip to main content

Add category

POST /v1/chat/category/:id

Add a new category

Path Parameters
  • id any required

    Object ID of the object, this can be a mongo ID but also a plain string (backwards-compatibility). When using POST or add API calls, this property is optional.

Request Body required
  • name string

    Category name

  • desc string

    Description of the category

  • channels string[]

    List of channel IDs this category contains

Responses

OK

Loading...