---
title: "Get an on-call binding"
method: GET
path: "/oncall/bindings/{bindingId}"
tags: ["On-Call"]
---

# Get an on-call binding

`GET /oncall/bindings/{bindingId}`

## Request

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

## Response `200`

The requested on-call binding

- object
  - `binding` OnCallBinding: A binding from a team or component to an on-call provider. Provider credentials live in `_config/oncallIntegration` and are never exposed by /v1.
    - `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

- `404` (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)
