---
title: "List departments"
method: GET
path: "/{domain}/v1/departments"
tags: ["Discovery"]
---

# List departments

`GET /{domain}/v1/departments`

Returns all departments with their parent division. Use the returned id to filter GET /v1/headcount by department.

## Path parameters

- `domain` string, required

## Response `200`

List of departments with division info.

- object[] — List of departments for the org.
  - `id` string, uuid, required — UUID
  - `name` string, required — Display name
  - `division-id` string, uuid, nullable — Parent division UUID. Nil if not linked to a division.
  - `division-name` string, nullable — Parent division display name.

## Other responses

- `401` — Request does not contain valid credentials.

---

[API](https://skmtc.net/teamohana/apis/teamohana-public-api.md) · [All operations](https://skmtc.net/teamohana/apis/teamohana-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teamohana/teamohana-public-api/revisions/55e225ee4219/schema)
