schedule.gap
schedule.gap
Sent to endpoints subscribed to schedule.gap (Settings › Webhooks). Severity
warning.
Verify the signature before trusting the body; see webhooks.
data
| Field | Type | Description |
|---|---|---|
templateId |
string | The shift template (Schedule) |
template |
string | The shift template's name |
dateLocal |
string | Local date of the shift, YYYY-MM-DD |
startsAt |
integer | When the uncovered shift starts |
staffed |
integer | Readers on the shift |
minStaff |
integer | Readers the template needs |
Example
{
"id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
"type": "schedule.gap",
"version": 1,
"tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
"occurredAt": 1792161000000,
"severity": "warning",
"data": {
"templateId": "01JA2Z6Q7Y9K3M5N8P0R2S4TST",
"template": "ED night",
"dateLocal": "2026-12-05",
"startsAt": 1792247400000,
"staffed": 0,
"minStaff": 1
},
"links": {
"app": "https://app.pacspilot.com/reader-schedule?from=2026-12-05"
}
}