# Alert plans (escalation policies) — API reference

> Who is told, in what order, after how long. REST endpoints with request and response fields, examples in curl, JavaScript, Python, Go and PHP, and an in-browser Try it console.

Source: https://upfour.io/docs/api/escalation-policies

[Developers](https://upfour.io/docs/api.md)/Alerting & response

Who is told, in what order, after how long.

Base URL `https://app.upfour.io/v1`. Send your key as `Authorization: Bearer <key>`; every key acts on your real Company, so [test without paging anyone](https://upfour.io/docs/api/testing.md). New here? Start with the [quickstart](https://upfour.io/docs/api/quickstart.md). The examples read the key from `UP4_API_KEY`.

## Everyday

[GET **List alert plans** /escalation-policies](https://upfour.io/docs/api/escalation-policies/list-alert-plans.md)[POST **Create an alert plan** /escalation-policies](https://upfour.io/docs/api/escalation-policies/create-an-alert-plan.md)[GET **Get an alert plan** /escalation-policies/{policyID}](https://upfour.io/docs/api/escalation-policies/get-an-alert-plan.md)[PUT **Update an alert plan** /escalation-policies/{policyID}](https://upfour.io/docs/api/escalation-policies/update-an-alert-plan.md)

## Control

[DEL **Delete an alert plan** /escalation-policies/{policyID}](https://upfour.io/docs/api/escalation-policies/delete-an-alert-plan.md)[POST **Test an alert plan** /escalation-policies/{policyID}/test](https://upfour.io/docs/api/escalation-policies/test-an-alert-plan.md)

## Results and history

[GET **Get the latest alert plan test run** /escalation-policies/{policyID}/test-runs/latest](https://upfour.io/docs/api/escalation-policies/get-the-latest-alert-plan-test-run.md)[GET **Get an alert plan test run** /escalation-policies/{policyID}/test-runs/{runID}](https://upfour.io/docs/api/escalation-policies/get-an-alert-plan-test-run.md)
