---
title: "Returns upcoming or unassigned shifts"
method: GET
path: "/users/shifts"
tags: ["Shifts"]
---

# Returns upcoming or unassigned shifts

`GET /users/shifts`

Get employee upcoming or unassigned shifts, starting from today

## Query parameters

- `filter` 'upcoming' | 'unassigned', required

## Response `200`

All shifts are sorted by the start time in ascending order (limited to 20 shifts, in published period, up to 90 days in the future)

- object
  - `shifts` Shift[]
    - `id` string
    - `employeeName` string
    - `from` string
    - `to` string
    - `shiftType` string
    - `unit` string
    - `section` string
    - `breaksDuration` integer
    - `breaks` Break[]
      - `start` string
      - `end` string

## Other responses

- `400` — When invalid filter is applied

---

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