Skip to content

schedule.time_off_requested

schedule.time_off_requested

Sent to endpoints subscribed to schedule.time_off_requested (Settings › Webhooks). Severity info.

Verify the signature before trusting the body; see webhooks.

data

Field Type Description
timeOffId string The time off request (Schedule › Requests)
memberId string The member the time off is for, or whose credential it is
from string First local date of the published range, YYYY-MM-DD
to string Last local date of the published range, YYYY-MM-DD
category "vacation" | "conference" | "sick" | "other" orders, adt or results; for schedule time off vacation, conference, sick or other
shifts integer Shifts that went live
requestedBy string The member who asked for the purge, or who entered the time off request
notify array Members this event is addressed to

Example

{
  "id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
  "type": "schedule.time_off_requested",
  "version": 1,
  "tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
  "occurredAt": 1792161000000,
  "severity": "info",
  "data": {
    "timeOffId": "01JA2Z6Q7Y9K3M5N8P0R2S4TT1",
    "memberId": "01JA2Z6Q7Y9K3M5N8P0R2S4T5E",
    "from": "2026-12-21",
    "to": "2026-12-24",
    "category": "vacation",
    "shifts": 3,
    "requestedBy": "01JA2Z6Q7Y9K3M5N8P0R2S4T5E",
    "notify": [
      "01JA2Z6Q7Y9K3M5N8P0R2S4T6F"
    ]
  },
  "links": {
    "app": "https://app.pacspilot.com/reader-schedule/requests"
  }
}

Verify the signature · All event types