---
title: "Fetch on-calls"
method: GET
path: "/on-calls"
tags: ["On-Call"]
---

# Fetch on-calls

`GET /on-calls`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/on-calls`
- Auth: none declared. Required headers: `x-api-key`, `x-team-id`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/on-calls/get.ts> (a function with typed inputs; its response is checked against the schema)

Get list of on-call schedules for a team

## Headers

- `x-api-key` string, required
- `x-team-id` string, required

## Response `200`

List of on-call schedules

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
