1
Create a schedule
Send a A successful response returns the new schedule:
POST request to /api/oncall/schedules with a name and IANA timezone identifier.2
Add a rotation layer
A rotation layer defines when the schedule is active and which participants rotate through it. Send a The response returns the created layer:Key fields to know:
POST request to /api/oncall/schedules/{scheduleId}/layers, replacing {scheduleId} with the ID returned in the previous step.Participants rotate in the order listed. The first user in
participantIds is on call starting at effectiveFrom, then each subsequent user takes over after rotationLengthDays days at handoffTime.3
Check who is currently on call
Query the schedule to see which participant is currently on call. Send a The response returns the Schedule Owner (used as the incident Lead), the Paging Targets (full set the schedule would page), and a To check who would be on call at a specific point in time, add an If
GET request to /api/oncall/schedules/{scheduleId}/resolve.currentOncallView with per-layer detail:at query parameter with an ISO 8601 datetime:entries is empty, no layer is active at the requested time. Check that your layer’s effectiveFrom has passed and that effectiveUntil has not expired.