---
title: "List next on-call responders"
method: GET
path: "/api/{cloudId}/v1/schedules/{scheduleId}/next-on-calls"
tags: ["Schedule on-calls"]
---

# List next on-call responders

`GET /api/{cloudId}/v1/schedules/{scheduleId}/next-on-calls`

## Request

- Base URL: `https://api.atlassian.com/jsm/ops`
- URL: `https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/schedules/{scheduleId}/next-on-calls`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `https://auth.stg.atlassian.com/authorize`
    - Token URL: `https://auth.stg.atlassian.com/oauth/token` scopes: `read:ops-config:jira-service-management`

Lists the next on-call responders at a specific time for the schedule with given id in the request.<br> <br> **Permissions required:** Permission to access to the schedule: 
 - the user has read-only administrative right. 
 - the schedule's assigned team is one of the teams that the user belongs to. 
 - the user is added to a rotation of the schedule as a responder. 
 - a team is added to a rotation of the schedule as a responder, and the user is a member of this team. 
 - an escalation is added to a rotation of the schedule as a responder, and the user is a member of this escalation. 
 - there is an override to the user in the schedule.

## Path parameters

- `scheduleId` string, required

## Query parameters

- `flat` boolean
- `date` string, date-time

## Response `200`

Returned if the request is successful.

- union
  - object: Details of the next on-call participants. Returned only `flat=false` is sent in the request.
    - `nextOnCallParticipants` OnCallParticipant[]
      - `id` string: ID of the on-call participant.
      - `type` string: Type of the on-call participant.
      - `onCallParticipants` OnCallParticipant[]: List of the flattened participants of the participant.
      - `forwardedFrom` OnCallParticipant (recursive)
  - object: User IDs of the next on-call participants. Returned only `flat=true` is sent in the request.
    - `nextOnCallUsers` string[]

## Other responses

- `401`: Returned if the authentication credentials are incorrect.
- `403`: Returned if the requesting user does not have permission to view the schedule.
- `404`: Returned if the schedule is not found.
- `422`: Returned if the query parameters cannot be validated.

---

[API](https://skmtc.dev/atlassian/apis/jsm-operations-api.md) - [All operations](https://skmtc.dev/atlassian/apis/jsm-operations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/jsm-operations-api/revisions/804cddbe79aa?raw)
