GET
/
api
/
departments

Authorizations

Authorization
string
headerrequired

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

Response

200 - application/json
id
string

The unique identifier of the department

name
string

The name of the department

color
string

The color associated with the department

companyId
string

The ID of the company to which the department belongs

createdAt
string

The date and time when the department was created

updatedAt
string

The date and time when the department was last updated