Docs
Get Departments
GET /Organizations/{organizationId}/departments
GET
/Organizations/{organizationId}/departmentsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Returns all departments defined for the organization.
Requires OrganizationBasicAccess or OrganizationAdmin permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | Guid | Required | The organization to retrieve departments for. |
Response
Returns an array of departments.
| Field | Type | Description |
|---|---|---|
| id | Guid | Unique department ID. |
| name | string | Display name of the department. |