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

# Get roles list.

`GET /company/v1/roles`

Get roles list.

## Response `200`

OK

- object
  - `data` RoleList[]
    - `id` string
    - `title` string
    - `code` string
    - `userlist` UserForRole[]
      - `id` string
      - `firstName` string
      - `lastName` string
      - `avatar` string
      - `dateUpdate` number — timestamp in seconds
    - `departmentlist` DepartmentForRole[]
      - `id` string
      - `name` string
      - `dateUpdate` number — timestamp in seconds
  - `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.md) · [All operations](https://skmtc.net/uspacy/apis/uspacy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uspacy/uspacy-api/versions/c3f48fd1c26b/schema)
