---
title: "POST /alerts"
method: POST
path: "/alerts"
tags: ["alert"]
---

# POST /alerts

`POST /alerts`

Create new Alerts

## Request body

- PostableAlert[]
  - `startsAt` string, date-time
  - `endsAt` string, date-time
  - `annotations` LabelSet
  - `labels` LabelSet, required
  - `generatorURL` string, uri

## Response `200`

Create alerts response

## Other responses

- `400` — Bad request
- `500` — Internal server error

## Changes

- **2021-09-10** (v2) `9cab89e8f772` — 1 info
  - endpoint added
- **2021-09-10** (v2) `b67fa626591b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/prometheus/apis/alertmanager-api/changes/alerts/post.md)

---

[API](https://skmtc.dev/prometheus/apis/alertmanager-api.md) · [All operations](https://skmtc.dev/prometheus/apis/alertmanager-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prometheus/alertmanager-api/revisions/da782cf7fa5e/schema)
