Skip to main content
POST
Create a new department

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Department display name; unique within the organization.

description
string

Free-text description of the department's purpose.

managerIds
string[]

User _ids with MANAGER role inside this department.

userIds
string[]

All members of the department (managers + agents).

Response

Department created

department
object
Example: