OnCall API
OnCall endpoints exposed by the Devotel CPaaS API
Base path: /api/v1/oncall
Endpoint count: 2
Plan an escalation timeline
POST /api/v1/oncall/escalation/plan
Flatten an escalation policy into the ordered page timeline showing all targets, channels, and offsets an incident driver would walk. The timeline is anchored at a given incident start instant (defaults to now). Pure compute — no pages are actually sent.
Incident start instant; the timeline is anchored here. Defaults to now
Resolve who is on call for a rotation
POST /api/v1/oncall/resolve
Resolve who is on call for a given rotation at a specified instant (defaults to now). Returns the current on-call member, their shift timeline, and the next hand-off. Pure compute — no state is persisted.
Instant to resolve at; defaults to now