Get an on-call schedule rotation

Returns the currently used on-call rotation for a single on-call schedule.

GET https://incidents.betterstack.com/api/v2/on-calls/{schedule_id}/rotation

URL parameters

schedule_id
required string

Query parameters

team_name
string

Headers

Authorization
required string
200

Response body

{
  "rotation_length": 1,
  "rotation_interval": "day",
  "start_rotations_at": "2026-02-02T00:00:00.000Z",
  "end_rotations_at": "2028-02-02T00:00:00.000Z",
  "users": [
    "bob@betterstack.com",
    "alice@betterstack.com"
  ],
  "timezone": "Europe/Prague",
  "effective_timezone": "Europe/Prague",
  "working_hours": [
    {
      "day": "monday",
      "start_time": "09:00",
      "end_time": "17:00"
    },
    {
      "day": "tuesday",
      "start_time": "09:00",
      "end_time": "17:00"
    },
    {
      "day": "wednesday",
      "start_time": "09:00",
      "end_time": "17:00"
    },
    {
      "day": "thursday",
      "start_time": "09:00",
      "end_time": "17:00"
    },
    {
      "day": "friday",
      "start_time": "09:00",
      "end_time": "17:00"
    }
  ]
}
404

Example cURL

Example
curl --request GET \
  --url "https://incidents.betterstack.com/api/v2/on-calls/default/rotation" \
  --header "Authorization: Bearer $TOKEN"