Skip to main content
GET
Get root department

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

String. The organization's internal ID (32-character hex string) or its externalSourceId. When the value matches the format of an internal ID, the internal ID takes precedence.

Example:

"11adfe2a080040e3892ffb89c21ec44e"

Response

OK

id
string
required

Unique identifier of the department.

externalSourceId
string | null
required

External source identifier of the department, if set by an integration. Null when not set.

name
string
required

Display name of the department.

parentId
string | null
required

The id of the parent department. Null only for the organization's own root unit (level 0). Every other department, including a top-level one directly under the root, has this set to its parent's id.

vatType
enum<string>
required

VAT deduction handling for this department. Defaults to USE_CATEGORY when not explicitly set.

Available options:
USE_CATEGORY,
NON_DEDUCTABLE_VAT,
DEDUCTABLE_VAT
customDimensionPresetValues
object[]
required

Preset custom dimension values configured for this department. Excludes values belonging to deleted dimension definitions.

level
integer
required

Depth of the department within the organization's unit hierarchy. The organization's implicit root unit is level 0; a genuine top-level department is level 1.