Webhook Events
Required
The scheduling provider must send webhook events to Seamlr when shifts change.
Webhook Endpoint
Section titled “Webhook Endpoint”POST /api/v3/integrations/{provider}/webhookEvent Types
Section titled “Event Types”New shift available for staffing. Seamlr will fetch the shift details and create a matching job.
Shift details changed (time, slots, location, etc.). Seamlr will update the internal job and notify assigned candidates.
Shift cancelled or removed. Seamlr will cancel the job and notify assigned candidates.
Payload Schema
Section titled “Payload Schema”{ "event": "shift.create", "providerId": "550e8400-e29b-41d4-a716-446655440000", "content": { "shiftId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8" }, "traceId": "6ba7b811-9dad-11d1-80b4-00c04fd430c8"}| Field | Type | Description |
|---|---|---|
event | string | Event type (shift.create, shift.update, shift.delete) |
providerId | string (UUID) | Provider organization identifier for multi-tenant routing |
content.shiftId | string (UUID) | Shift ID in the provider system |
traceId | string (UUID) | Unique identifier for request tracing |
Webhook Response
Section titled “Webhook Response”Seamlr responds immediately with 200 OK and queues the event for processing:
{ "received": true}Processing Flow
Section titled “Processing Flow”-
Provider sends webhook to Seamlr endpoint
-
Seamlr responds with
200 OKimmediately (< 500ms) -
Event is queued for processing
-
Seamlr fetches full shift details via Provider API
-
Seamlr creates/updates internal job and notifies candidates