Skip to content

schedule.time_off_decided

schedule.time_off_decided

Sent to endpoints subscribed to schedule.time_off_decided (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
status "approved" | "declined" The study's status once viewable; for case.callback.changed, the call back's state: open, acknowledged, done or not_needed; for qc.unit.status_changed, the unit's status: in_service, limited or out_of_service
from string First local date of the published range, YYYY-MM-DD
to string Last local date of the published range, YYYY-MM-DD
vacated integer Shifts the approval turned into gaps
decidedBy string The scheduler who answered
notify array Members this event is addressed to

Example

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

Verify the signature · All event types