API reference
Create an incident
Declare an incident on an Uptenna status page with the API: title, impact, affected services and a first update, emailed to the page's subscribers.
POST https://uptenna.com/v1/incidents
Declare an incident on a status page without a monitor failing, with its first update. Subscribers of the page get the update by email.
The incident stays open until an update says resolved. A page can have 10 open incidents.
Request body
JSON. Fields not sent take their defaults.
| Name | Type | Required | Description |
|---|---|---|---|
status_page_id | string | yes | The status page to show it on (sp_…). |
title | string | yes | Up to 120 characters, like “Slow dashboard”. |
impact | string | yes | How bad it is for the affected services: degraded performance, partial outage or major outage. One of degraded, partial, major. |
monitor_ids | array of strings | no | Monitors on that page it affects; they show the impact. Default none (the page's overall state still shows it). |
status | string | no | The first update's status. Default investigating. One of investigating, identified, monitoring, resolved. |
message | string | yes | The first update, plain text up to 1000 characters. |
Example request
curl -X POST "https://uptenna.com/v1/incidents" \
-H "Authorization: Bearer $UPTENNA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status_page_id":"sp_Hn4c7VtQ1wXa","title":"Slow dashboard","impact":"degraded","monitor_ids":["mon_Xk3v9QmT2bLp"],"message":"Some customers see slow dashboard loads. We're looking into it."}'const res = await fetch("https://uptenna.com/v1/incidents", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"status_page_id":"sp_Hn4c7VtQ1wXa","title":"Slow dashboard","impact":"degraded","monitor_ids":["mon_Xk3v9QmT2bLp"],"message":"Some customers see slow dashboard loads. We're looking into it."}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const incident = await res.json();Response
Returns 201 Created with the incident object.
{
"id": "inc_W3p8Zq1MvRtY",
"kind": "manual",
"status": "open",
"severity": "degraded",
"title": "Slow dashboard",
"impact": "degraded",
"monitor_id": null,
"monitor_name": null,
"status_page_id": "sp_Hn4c7VtQ1wXa",
"monitor_ids": [
"mon_Xk3v9QmT2bLp"
],
"reason": null,
"reason_text": null,
"status_code": null,
"started_at": "2026-12-01T10:05:00.000Z",
"resolved_at": null,
"updates": [
{
"id": "upd_Lr7nB2vQx9Ka",
"status": "investigating",
"message": "Some customers see slow dashboard loads. We're looking into it.",
"created_at": "2026-12-01T10:05:00.000Z",
"updated_at": "2026-12-01T10:05:00.000Z"
}
]
}Errors
Errors look like { "error": { "code", "message" } } (see Errors).
| Status | Code | When |
|---|---|---|
| 400 | invalid_incident | A field is missing or invalid, or a monitor isn't shown on the page; the message says which. |
| 404 | not_found | No status page with this id in your account. |
| 409 | incident_limit | The page already has 10 open incidents. |
| 429 | rate_limited | More than 30 posts that email subscribers (new incidents, updates, maintenance notices) in an hour. |
| 401 | unauthorized | The Authorization header is missing, malformed, or the key is unknown or revoked. |
| 429 | rate_limited | More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds. |