Skip to main content
POST
Create a new department.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

Department creation data

Request body for creating a department

companyId
string
required

Company ID

name
string
required

Department name

color
string

Department color (hex code)

description
string

Department description

Response

Created department

Department object

color
string

Department color (hex code)

companyId
string

Company ID

created
number

Creation timestamp

description
string

Department description

id
string

Department ID

name
string

Department name

updated
number

Last update timestamp