---
title: "List on-call bindings"
method: GET
path: "/oncall/bindings"
tags: ["On-Call"]
---

# List on-call bindings

`GET /oncall/bindings`

## Request

- Base URL: `https://api.marboba.com/v1`
- URL: `https://api.marboba.com/v1/oncall/bindings`
- Auth: HTTP bearer

Lists every on-call binding in the calling token's org. Optional query filters: `scope`, `targetId`, `provider`.

## Query parameters

- `scope` 'team' | 'component' | 'resource'
- `targetId` string
- `provider` 'pagerduty' | 'opsgenie' | 'manual'

## Response `200`

List of on-call bindings

- object
  - `bindings` OnCallBinding[]
    - `id` string, required
    - `scope` 'team' | 'component' | 'resource', required
    - `targetId` string, required: Team id when scope=team, app id when scope=component.
    - `provider` 'pagerduty' | 'opsgenie' | 'manual', required
    - `scheduleId` string, nullable: Provider-side schedule id; null for manual bindings.
    - `label` string, nullable
    - `currentlyOnCallUserName` string, nullable
    - `currentlyOnCallUserEmail` string, nullable
    - `currentlyOnCallUserUid` string, nullable: Resolved org employee uid when the on-call email matches.
    - `currentShiftStartsAt` string, date-time, nullable
    - `currentShiftEndsAt` string, date-time, nullable
    - `lastFetchedAt` string, date-time, nullable
    - `lastFetchError` string, nullable
    - `createdAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable

## Other responses

- `401` (unresolved $ref)

---

[API](https://skmtc.dev/marboba/apis/marboba-public-rest-api.md) · [All operations](https://skmtc.dev/marboba/apis/marboba-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marboba/apis/marboba-public-rest-api/revisions/5b96d525d88d?raw)
