Skip to content

schedule.swap_requested

schedule.swap_requested

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

Verify the signature before trusting the body; see webhooks.

data

Field Type Description
swapId string The shift swap or give-away (Schedule › Requests)
shiftId string The shift (Schedule)
dateLocal string Local date of the shift, YYYY-MM-DD
stage "offered" | "taken" open when the review starts, then reminder each week, overdue after the due date; for a shift swap offered or taken
fromMember string The member giving the shift away
toMember string or null The member taking the shift
notify array Members this event is addressed to

Example

{
  "id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
  "type": "schedule.swap_requested",
  "version": 1,
  "tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
  "occurredAt": 1792161000000,
  "severity": "info",
  "data": {
    "swapId": "01JA2Z6Q7Y9K3M5N8P0R2S4TSW",
    "shiftId": "01JA2Z6Q7Y9K3M5N8P0R2S4TSH",
    "dateLocal": "2026-12-05",
    "stage": "offered",
    "fromMember": "01JA2Z6Q7Y9K3M5N8P0R2S4T5E",
    "toMember": null,
    "notify": [
      "01JA2Z6Q7Y9K3M5N8P0R2S4T6F"
    ]
  },
  "links": {
    "app": "https://app.pacspilot.com/reader-schedule/requests"
  }
}

Verify the signature · All event types