---
title: "GET Workunit"
method: GET
path: "/shifts/{shift_id}/work-units"
---

# GET Workunit

`GET /shifts/{shift_id}/work-units`

## Request

- Base URL: `https://www.humanity.com/api/v2`
- URL: `https://www.humanity.com/api/v2/shifts/{shift_id}/work-units`
- Auth: API key in query parameter `access_token`

/shifts/:shift_id/work-units
Permission level: 5

## Path parameters

- `shift_id` integer, required

## Response `200`

200

- object
  - `status` integer
  - `data` object[]
    - `permissions` object
      - `manager` boolean
    - `shift` object
      - `id` string
      - `title` string
      - `start` string
      - `end` string
    - `schedule` object
      - `id` integer
      - `active` integer
      - `notify` integer
      - `store` integer
      - `user` integer
      - `name` string
      - `start` integer
      - `end` integer
      - `location` integer
      - `color` integer
      - `ical` string
      - `visible` integer
      - `job_code` unknown
    - `wuTypes` unknown[]
      - unknown
    - `users` object
      - `2970678` object
        - `id` string
        - `name` string
        - `shift_user_id` integer
        - `wu` unknown[]
          - unknown
  - `token` string
  - `error` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ffb87b44c733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/humanity-com/apis/humanity/changes/shifts/:shift_id/work-units/get.md)

---

[API](https://skmtc.dev/humanity-com/apis/humanity.md) - [All operations](https://skmtc.dev/humanity-com/apis/humanity/llms.txt) - [OpenAPI document](https://skmtc.dev/humanity-com/apis/humanity/revisions/ffb87b44c733?raw)
