---
title: "Get who is on call"
method: GET
path: "/on-call-schedules/{schedule}/now"
tags: ["On-call"]
---

# Get who is on call

`GET /on-call-schedules/{schedule}/now`

## Request

- Base URL: `https://api.spectate.net/v1`
- URL: `https://api.spectate.net/v1/on-call-schedules/{schedule}/now`
- Auth: HTTP bearer

Who is on call at `at` (default now). `shift` is `null` during a gap.

## Path parameters

- `schedule` string, uuid, required

## Query parameters

- `at` string, date-time

## Response `200`

Who is on call at that moment.

- OnCallNow: Who is on call at a moment.
  - `shift` OnCallShift, required: A stretch of time someone is on call.
    - `member` MemberReference, required: A member of the team.
      - `id` string, uuid, required: Member (user) ID
      - `name` string, required: Name
      - `email` string, email, required: Email address
    - `starts_at` string, date-time, required: When the shift starts
    - `ends_at` string, date-time, required: When it ends
    - `source` 'rotation' | 'override', required: Where an on-call shift comes from. | | |---| | `rotation` <br/> A rotation layer's turn. | | `override` <br/> An override someone added. |
    - `rotation_id` string, uuid, nullable, required: The rotation layer, for rotation shifts
    - `override_id` string, uuid, nullable, required: The override, for override shifts

## Other responses

- `401`: `UNAUTHENTICATED`: no token was sent. `INVALID_TOKEN`: the token is unknown or revoked. `TOKEN_EXPIRED`: the token has expired.
- `403`: `FORBIDDEN`: the token lacks an ability this endpoint requires (listed in `details.required_abilities`). `TEAM_PENDING_DELETION`: the team is scheduled for deletion. `TEAM_SUSPENDED`: Spectate suspended the team.
- `404`: `RESOURCE_NOT_FOUND`: there is no such resource in this team.
- `422`: `VALIDATION_FAILED`: the request is invalid; `details.errors` lists the fields.
- `429`: `RATE_LIMITED`: too many requests for this token. Wait for the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/spectate/apis/spectate-api.md) - [All operations](https://skmtc.dev/spectate/apis/spectate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spectate/apis/spectate-api/revisions/9b1a233997de?raw)
