Skip to main content
Last updated: 2026-12-01 The Vibe OnCall Public API gives programmatic access to your organization’s incidents, alerts, escalations, paging history, alert sources and routings, maintenance windows, services, teams, members, on-call schedules, labels, and automation actions. It follows REST conventions, returns JSON, and requires an API key on every endpoint except the OpenAPI spec.

Base URL

Authentication

All endpoints except the OpenAPI spec require an API key in the Authorization header:
See API Key Management for instructions on creating and managing API keys. Requests without a valid key receive a 401 Unauthorized response. A key’s Access limits what it can do: a Read-only key, or a Custom key that lacks the needed action, receives 403 Forbidden on any request that makes a change. The response names the actions the key is missing. Every request is scoped to the organization that owns the key.

Conventions


Endpoints

Incidents

Incident responses carry the service catalog entries attached to the incident — each service’s id, name, kind, links, and the groups it belongs to. Every write below is recorded on the incident’s timeline, attributed to the API key that made it. A comment can also name the person who wrote it — see POST /incidents/{id}/comments. Every incident has two status fields. normalizedStatus is always one of open, acknowledged, blocked, observation, or resolved. status is a legacy display value, such as In Progress, Investigating, or Resolved, in list, get, batch, and create responses; in PATCH /incidents/{id} responses it holds the same value as normalizedStatus. Read normalizedStatus when you need a stable value — the statuses filter uses the same five values. Every incident also carries impactStartedAt and impactEndedAt, when the impact began and ended, as UTC timestamps or null. They’re separate from reportedAt and resolvedAt: setting them doesn’t change those or the status. customFields is an array of {"id": "...", "name": "region", "value": "us-east-1"}. Each field gets a permanent id when it’s created and keeps it, so refer to fields by id when removing them. Names are exact and case-sensitive, and value can be null.

Polling for changes

updatedSince filters on the time the incident record itself was last written — the updatedAt returned on every incident — and the cutoff is inclusive. A timeline entry added by hand moves updatedAt to the time it was added, even when its own time is earlier. To sync incrementally: call GET /incidents?updatedSince=…&sortBy=updatedAt&sortOrder=ASC and page with offset until hasMore is false. Then set your cursor to the highest updatedAt you saw. Because the cutoff is inclusive, incidents written at that exact instant come back again on the next call; skip the ones you already have by id. Comments don’t move the cursor, so read those with GET /incidents/{id}?include=timeline for the incidents you care about.

Alerts

acknowledgedAt, resolvedAt, and closedAt are the most recent acknowledgment, resolve, and close on the alert’s timeline, or null if it never happened. They’re kept when the alert is reopened, so check status for its current state. acknowledgedBy is the person behind the most recent acknowledgment, the same one the app’s Last acked by shows. It’s null when no person made that acknowledgment: the alert was acknowledged with an API key, or by its source sending an acknowledgment. An alert acknowledged by declaring an incident has no acknowledgment event, so both acknowledge fields stay null for it. These fields come back on GET /alerts, GET /alerts/{id}, POST /alerts/batch, and a maintenance window’s suppressed alerts. To page an alert through an escalation policy — including before a routing rule’s delay ends — use POST /escalations (see Escalations below).

Window conditions

Without conditions, a window applies to every alert in its scope. To narrow it, send conditions together with conditionsLogicalOperator (AND or OR) — neither is accepted on its own. Each condition is one of:

Severity operators

Severity conditions compare by severity rank, not by the number in the label. SEV0 is the most severe and SIGNAL the least: SEV0, SEV1, SEV2, SEV3, SEV4, SEV5, SIGNAL. With SEV3 as the threshold: If your organization shows P-levels, P0–P5 stand in for SEV0–SEV5 and SIGNAL keeps its name. A value outside the scale never matches. The same operators, with the same meaning, drive the severity conditions in Routing, automation actions, notification policies, and alert enrichment in the app.

Escalations

Page an existing alert or incident through any escalation policy in your organization — for example, to bring in another team, or to page an alert before a routing rule’s delay ends. Paging starts at the policy’s first tier right away. Policy IDs are listed by GET /escalation-policies (see the OpenAPI spec).
This starts a new escalation; it does not cancel one a routing rule has already scheduled. If the alert is still open and unmuted when that delay ends, the route’s recipients are paged as well. Acknowledging or resolving the alert stops the delayed page.

Paging history

Alert sources

An alert source is where a monitoring tool sends alerts. Each source has its own webhook URL, or an inbound address for an email source. Anyone with a source’s webhook URL can send alerts into Vibe OnCall and page your team. That’s why every alert source endpoint needs Manage alert sources, including reads. A Read-only key gets 403 here. An email source’s deduplication is a template that decides when an email joins an open or acknowledged alert, built from {{subject}}, {{sender}}, and {{body}}, up to 500 characters. null uses the default, {{subject}}; an empty string gives every email its own alert. Omit it on create for the default, and on update to keep the current setting. Alerts only match alerts from the same source.

Alert routings

An alert routing is the API name for an alert route in the app. It holds the ordered rules that decide who gets paged for alerts arriving on the sources that point at it. Reads work with any key. Writes need Manage alert routing.

Routing rules

Rules are evaluated top to bottom, and the first rule that matches decides what happens to the alert. They read back exactly in the order you sent them. Each rule takes: A rule with logicalOperator AND and no conditions is the fallback rule — the ELSE branch in the app. It matches every alert, so it can only be last; anywhere else returns 400. Every target must exist in your organization, or the whole write returns 400 and nothing changes. To match one set of conditions or another, put each set in a group and join the groups with OR. This rule matches SEV1 and worse from Datadog, or anything from the payments service:

Services

Members

These endpoints cover the whole organization, including members who belong to no team. A member’s organization role is separate from the team role returned by GET /teams/{teamShortId}/members.

Teams

Schedules

A schedule is global or belongs to one or more teams. It has one or more rotations, each with an ordered list of participants and an on-call window, and an override puts a different person on a rotation for a set time. Writes need an API key with Manage on-call schedules (or Full access). Changing which teams own an existing schedule needs Manage schedule teams instead. Every schedule response lists its owners in teamIds, in ascending order, and empty for a global schedule. The older teamId field is still returned, holding the lowest owning team’s ID, but it is deprecated — read teamIds. With splitAtLocalMidnight=true, the on-call hours report and the timeline cut each shift at midnight in its schedule’s time zone, and each piece carries localDate and weekday, so hours sort into local days. Totals don’t change. Days when the clocks change count their real 23 or 25 hours, and a midnight that occurs twice splits at its first occurrence.

Rotation body

Used by POST /schedules (as each item of rotations), POST /schedules/{id}/rotations, and PUT /schedules/{id}/rotations/{rotationId}. Reads return every rotation in this same shape — including rotations created in the app or brought in by an importer — so a rotation you read can be sent back unchanged.

Participant order on update

A new participant order is always saved as sent. What differs is a change that only removes participants, or only appends them at the end: Clients that compare what they sent with what they read back, such as infrastructure-as-code tools, should send true. Edits in the app always keep the person on call.

Labels

Automation Actions

Maintenance windows

Chat integrations

Look up the Slack or Microsoft Teams channels your organization is connected to.

OpenAPI spec


What each write returns

Every write returns its stored result in the response, so there is no need to read the resource back — except the few that return only an acknowledgement, marked below. Work that a write sets off — paging, notifications, chat posts, automations — continues after the response and shows up on the incident or alert timeline as it completes.

Importing services and teams from another system


Example requests

List the current on-call responders for every schedule:
Create a service owned by team 12:
Retitle incident 101 and acknowledge it in one call:
Put a team on incident 101 as a responder:
Create an incident that pages team 12, safe to retry with the same Idempotency-Key:
Page escalation policy 7 for alert 201:
List who is on call on schedule 55 for December, split into local days for a payroll report:
List the phone and SMS pages sent for incident 101:
Create a schedule for team 12 with one rotation covering 8am–8pm New York time:
List the schedules team 12 owns:
Share schedule 55 between teams 12 and 50:
Cover member 347 on rotation 80 of schedule 55 for one day:
Open a two-hour maintenance window for team 12, announced in one channel:
Route team 12’s Datadog alerts: SEV1 and worse page escalation policy 7, everything else is recorded without paging. Create the routing first:
Then create the source with the returned routing id, and put the webhookUrl from the response into Datadog:

OpenAPI specification

The full OpenAPI spec is available at:
No authentication is required to retrieve the spec. It lists every endpoint with its full request and response schemas, and it is generated from the API itself, so it is always current. Use it to generate API clients, including Go clients, or import it into tools such as Postman or Insomnia.