---
title: "List all of the on-calls"
method: GET
path: "/oncalls"
tags: ["On-Calls"]
---

# List all of the on-calls

`GET /oncalls`

List the on-call entries during a given time range.

An on-call represents a contiguous unit of time for which a User will be on call for a given Escalation Policy and Escalation Rules.

For more information see the [API Concepts Document](../../api-reference/a47605517c19a-api-concepts#on-calls)

Scoped OAuth requires: `oncalls.read`

This API operation has operation specific rate limits. See the [Rate Limits](https://developer.pagerduty.com/docs/72d3b724589e3-rest-api-rate-limits) page for more information.

## Query parameters

- `time_zone` string, tzinfo
- `limit` integer
- `offset` integer
- `total` boolean
- `include[]` 'escalation_policies' | 'users' | 'schedules'
- `user_ids[]` string[]
- `escalation_policy_ids[]` string[]
- `schedule_ids[]` string[]
- `since` string, date-time
- `until` string, date-time
- `earliest` boolean

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Response `200`

A paginated array of on-call objects.

- object
  - `offset` integer — Echoes offset pagination property.
  - `limit` integer — Echoes limit pagination property.
  - `more` boolean — Indicates if there are additional records to return
  - `total` integer, nullable — The total number of records matching the given query.
  - `oncalls` Oncall[], required — unresolved $ref

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `429` — Too many requests have been made, the rate limit has been reached.

---

[API](https://skmtc.dev/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.dev/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
