---
title: "Get departments list"
method: GET
path: "/company/v1/departments"
tags: ["departments (usersService)"]
---

# Get departments list

`GET /company/v1/departments`

Get departments list

## Query parameters

- `page` integer
- `list` number

## Response `200`

OK

- object
  - `data` Department[]
    - `id` integer
    - `description` string
    - `name` string
    - `headId` string
    - `parentDepartmentId` string
    - `usersIds` string
    - `roles` string[]
  - `meta` Meta
    - `currentPage` number
    - `from` number
    - `lastPage` number
    - `links` object[]
      - `url` string
      - `label` string
      - `active` boolean
    - `path` string
    - `perPage` number
    - `to` number
    - `total` number

## Other responses

- `401` — Access token is missing or invalid

---

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