The Phoenix Alerts Management API is a REST API for configuring your account: services, teams, users, on-call schedules, and escalation policies.
There are three kinds of API key. Each one does a different job:
Management key (
pm_) – configures your account. It cannot send alerts in.Ingestion key (
pi_) – sends alerts in from a monitoring tool, and can acknowledge or resolve them. See Sending alerts.Read-only key (
pr_) – reads alerts and nothing else. Use it for dashboards and reports. See Alerts.
Send any of them as an Authorization: Bearer header. Getting started shows exactly what each key can reach.
Getting started with the Phoenix Alerts API — Base URL, authentication, the three key types, and the error format shared by every request.
API keys — Create, list, rotate, and revoke API keys, and the difference between ingestion, management, and read-only keys.
Services — Create, update, and delete services, the alert-routing targets that belong to a team.
Teams and members — Create teams and manage their membership and roles.
Users and contact methods — Create users, add and verify their contact methods, and list them.
Schedules and on-call — Set up a team's on-call schedule, see who is on call, and create overrides.
Escalation policies — Create escalation policies and steps that control who gets paged and when.
Maintenance windows — Suppress alert paging for one or more services during planned maintenance.
Alerts — List, view, acknowledge, resolve, reroute, and escalate alerts, and view their event timeline. A read-only key can use the read requests here.
Sending alerts — Send alerts in from a monitoring tool, deduplicate repeats, and resolve them automatically. Needs an ingestion key.
