Skip to main content
GET
/
v1
/
oncalls
List on-calls
curl --request GET \
  --url https://api.rootly.com/v1/oncalls \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "title": "<string>",
      "status": "<string>",
      "code": "<string>",
      "detail": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

include
enum<string>

comma separated if needed. eg: user,schedule

Available options:
user,
schedule,
escalation_policy
since
string

Start of time range in ISO-8601 format (e.g., 2025-01-01T00:00:00Z). Defaults to current time.

until
string

End of time range in ISO-8601 format (e.g., 2025-01-01T00:00:00Z). Defaults to 'since' time.

earliest
boolean

When true, returns only the first on-call user per escalation policy level

time_zone
string

Timezone for response times (e.g., America/New_York). Defaults to UTC.

filter[escalation_policy_ids]
string

Comma-separated escalation policy IDs

filter[schedule_ids]
string

Comma-separated schedule IDs

filter[user_ids]
string

Comma-separated user IDs

filter[service_ids]
string

Comma-separated service IDs

filter[group_ids]
string

Comma-separated group IDs (teams)

Response

success