v1
latestOpenAPI 3.1.02026-08-0662251219.8 KBDepartments
List departments
This endpoint lists departments of a company.
post/v3/companies/{companyId}/departments/list
Request body
Example request
{
"searchText": "Engineering",
"filters": [
{
"externalIds": [
"department-external-id"
],
"departmentIds": [
"731ccbca-0415-6fe1-d235-c324dfbe7423"
]
}
]
}Response
OK
Example response
{
"departments": [
{
"id": "731ccbca-0415-6fe1-d235-c324dfbe7423",
"name": "Accounting"
}
]
}