# On-call rotations — API reference

> Rotations, overrides, and "who is on call right now". REST endpoints with request and response fields, examples in curl, JavaScript, Python, Go and PHP, and an in-browser Try it console.

Source: https://upfour.io/docs/api/oncall-schedules

[Developers](https://upfour.io/docs/api.md)/Alerting & response

Rotations, overrides, and "who is on call right now".

Base URL `https://app.upfour.io/v1`. Send your key as `Authorization: Bearer <key>`; every key acts on your real Company, so [test without paging anyone](https://upfour.io/docs/api/testing.md). New here? Start with the [quickstart](https://upfour.io/docs/api/quickstart.md). The examples read the key from `UP4_API_KEY`.

## Everyday

[GET **List on-call rotations** /oncall-schedules](https://upfour.io/docs/api/oncall-schedules/list-on-call-rotations.md)[POST **Create an on-call rotation** /oncall-schedules](https://upfour.io/docs/api/oncall-schedules/create-an-on-call-rotation.md)[GET **Get the current on-call person** /oncall-schedules/current](https://upfour.io/docs/api/oncall-schedules/get-the-current-on-call-person.md)[GET **Get an on-call rotation** /oncall-schedules/{scheduleID}](https://upfour.io/docs/api/oncall-schedules/get-an-on-call-rotation.md)[PUT **Update an on-call rotation** /oncall-schedules/{scheduleID}](https://upfour.io/docs/api/oncall-schedules/update-an-on-call-rotation.md)

## Control

[DEL **Delete an on-call rotation** /oncall-schedules/{scheduleID}](https://upfour.io/docs/api/oncall-schedules/delete-an-on-call-rotation.md)[GET **List on-call overrides** /oncall-schedules/{scheduleID}/overrides](https://upfour.io/docs/api/oncall-schedules/list-on-call-overrides.md)[POST **Create an on-call override** /oncall-schedules/{scheduleID}/overrides](https://upfour.io/docs/api/oncall-schedules/create-an-on-call-override.md)[DEL **Delete an on-call override** /oncall-schedules/{scheduleID}/overrides/{overrideID}](https://upfour.io/docs/api/oncall-schedules/delete-an-on-call-override.md)

## Results and history

[GET **Get on-call coverage** /oncall-schedules/{scheduleID}/coverage](https://upfour.io/docs/api/oncall-schedules/get-on-call-coverage.md)[GET **List on-call events** /oncall-schedules/{scheduleID}/events](https://upfour.io/docs/api/oncall-schedules/list-on-call-events.md)[GET **List on-call rotation members** /oncall-schedules/{scheduleID}/rotations](https://upfour.io/docs/api/oncall-schedules/list-on-call-rotation-members.md)
