Create an alert
Creates an alert tied to a monitor and one of the project's monitor statuses — the same path a probe-detected status change takes, so episode grouping and on-call execution fire via outbox events. Send an Idempotency-Key header to make retries safe.
Authorization
bearerAuth An uptimely_live_ project API key (Settings → API Keys).
In: header
Header Parameters
Optional client-generated key (1-255 visible ASCII characters; a UUID works) making this POST safely retryable. Retrying with the SAME key and byte-identical body within 24h replays the stored first response. The same key with a different body answers 422 idempotency_key_reused; a retry racing the first execution answers 409 idempotency_in_progress. Omitting the header executes normally with no idempotency guarantee.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/alerts" \ -H "Content-Type: application/json" \ -d '{ "monitor_id": "ff93e0f3-22fc-4809-8875-a2d24a9803b1", "monitor_status_id": "93f40b51-8c2a-4361-8696-244b43f42531", "title": "string" }'{ "id": "string", "number": 0}