Docs

Get Departments

GET /Organizations/{organizationId}/departments

GET/Organizations/{organizationId}/departments

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Returns all departments defined for the organization.

Requires OrganizationBasicAccess or OrganizationAdmin permission.

Path Parameters

FieldTypeRequiredDescription
organizationIdGuidRequiredThe organization to retrieve departments for.

Response

Returns an array of departments.

FieldTypeDescription
idGuidUnique department ID.
namestringDisplay name of the department.