---
title: "Shift notification"
method: POST
path: "staff-apiShift notification"
tags: ["Staff"]
---

# Shift notification

`POST staff-apiShift notification` (webhook)

Notify about a shift event.

## Payload

- StaffApiWebhookEventDto
  - `notificationType` 'shift.created' | 'shift.updated' | 'shift.deleted' — The type of webhook notification.
  - `data` StaffApiShift — Shift details.
    - `uuid` string — The unique identifier for the shift.
    - `businessId` integer — The unique identifier for the business.
    - `businessLocationId` integer — The unique identifier for the business location.
    - `deviceId` integer — The unique identifier for the device.
    - `staffId` integer — The unique identifier for the user.
    - `declaredCashTips` string — The declared tips for the shift.
    - `dateInUTC` string, date-time — The timestamp of the last update to the shift.
    - `events` StaffApiEvent[] — List of events during the shift.
      - `uuid` string — The unique identifier for the event.
      - `timestamp` string, date-time — The time of the event.
      - `createdOn` string, date-time — The creation time of the event.
      - `eventType` 'CLOCK_IN' | 'CLOCK_OUT' — The type of event.

## Acknowledgement `200`

Your server returns this code if it accepts the callback.

---

[API](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api.md) · [All operations](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeed/lightspeed-restaurant-k-series-api/revisions/0e481cddec74/schema)
