v1

latestOpenAPI 3.1.02026-08-0662251219.8 KB
Departments

List departments

This endpoint lists departments of a company.

get/v2/companies/{companyId}/departments

Query parameters

externalIdstring

External id of the department.

Response

OK

lengthinteger
totalNumResultsinteger

Total number of results

Example response

{
  "elements": [
    {
      "id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3",
      "name": "Name"
    }
  ]
}