---
title: "PUT Shift Breaks"
method: PUT
path: "/shifts/{shift_id}/shiftbreaks?access_token=xxxxxxx"
---

# PUT Shift Breaks

`PUT /shifts/{shift_id}/shiftbreaks?access_token=xxxxxxx`

## Request

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

/shifts
Permission level: 4

## Path parameters

- `shift_id` integer, required

## Query parameters

- `access_token` string, required

## Headers

- `Content-Type` string

## Request body `application/x-www-form-urlencoded`

- object
  - `breaks` string[], required: Each object contains 3 fields: **id**, **start** and **end**. **id** represents a shift break ID which is updated. **start** and **end** are new values for break start and break end.

## Response `200`

200

- object
  - `status` integer
  - `data` object[]
    - `employee` string
    - `breaks` object[]
      - `id` integer
      - `shift_employee_id` integer
      - `start` string
      - `end` string
      - `company_id` integer
      - `created_at` string
      - `updated_at` string
      - `deleted_at` unknown
      - `created_by` integer
      - `updated_by` integer
      - `deleted_by` unknown
  - `metadata` 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/shiftbreaks%3Faccess_token=xxxxxxx/put.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)
