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.
- application/json
Request Body required
- name string
Category name
- desc string
Description of the category
- channels string[]
List of channel IDs this category contains
Responses
- 200
- 404
OK
NOT FOUND
Loading...