---
title: "Get current on-call assignments"
method: GET
path: "/api/public/v1/on-call"
tags: ["OnCall"]
---

# Get current on-call assignments

`GET /api/public/v1/on-call`

## Request

- Base URL: `https://allquiet.app` (the document declares no server; this is the origin it was published from)
- URL: `https://allquiet.app/api/public/v1/on-call`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/allquiet/apis/all-quiet-public-api/docs/api/public/v1/on-call/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns users currently on call for teams accessible to the API key, optionally filtered by team IDs, user IDs, or a specific timestamp.

**Required API key permissions**

- **Scope:** `on-call:get`
- **Accepted key types:** organization API key (org-wide), organization API key (team-scoped), personal access token (org-wide), personal access token (team-scoped)
- **Access:** Access is checked against the specific resource (team or organization reachability).
- **Notes:** When userIds is provided, the caller must be able to read each requested user.

## Query parameters

- `TeamIds` string[]
- `UserIds` string[]
- `Timestamp` string, date-time

## Response `200`

OK

- AllQuietApiPublicOnCallOnCallResponse
  - `memberships` AllQuietApiPublicOnCallOnCallResponseMembership[], nullable
    - `user` AllQuietApiPublicOnCallOnCallResponseUser
      - `id` string, uuid
      - `displayName` string, nullable
      - `avatarUrl` string, nullable
      - `email` string, nullable
    - `team` AllQuietApiPublicOnCallOnCallResponseTeam
      - `id` string, uuid
      - `displayName` string, nullable
      - `timeZoneId` string, nullable, required
    - `availabilities` AllQuietApiPublicOnCallOnCallResponseAvailability[], nullable
      - `tier` integer
      - `isOnline` boolean
      - `fillUp` boolean

---

[API](https://skmtc.dev/allquiet/apis/all-quiet-public-api.md) - [All operations](https://skmtc.dev/allquiet/apis/all-quiet-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/allquiet/apis/all-quiet-public-api/revisions/a69168a82f2c?raw)
