---
title: "Get the list of departments that the user has access to"
method: GET
path: "/v2/providers/employers/{employerId}/users/departments"
tags: ["Linked departments"]
---

# Get the list of departments that the user has access to

`GET /v2/providers/employers/{employerId}/users/departments`

__Activity name:__ GetEmployerUsersLinkedDepartmentsByEmployerId

Get the list of departments that the user has access to

## Path parameters

- `employerId` string, uuid, required

## Query parameters

- `orderBy` string
- `pageNumber` integer
- `pageSize` integer

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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