# Post an incident update

> Post an incident update with the Uptenna API: Investigating, Identified, Monitoring or Resolved and a message, shown on status pages and emailed out.

Source: https://uptenna.com/docs/api-create-incident-update  
Markdown: https://uptenna.com/docs/api-create-incident-update.md

`POST https://uptenna.com/v1/incidents/{id}/updates`

Tell users what's happening: a status and a short message, shown on the status pages and emailed to their subscribers.

On a manual incident, `resolved` closes it and any other status after that reopens it. On an automatic incident the monitor decides: `resolved` is refused while it's open (post `monitoring`), and allowed afterwards as a closing note. An incident can have 50 updates.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The incident's id (`inc_…`). |

## Request body

JSON. Fields not sent take their defaults.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | yes | Where things stand. One of `investigating`, `identified`, `monitoring`, `resolved`. |
| `message` | string | yes | Plain text, up to 1000 characters; line breaks are kept. |

## Example request

```bash curl
curl -X POST "https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates" \
  -H "Authorization: Bearer $UPTENNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"identified","message":"A slow database query. We're rolling out a fix."}'
```

```js Node.js (fetch)
const res = await fetch("https://uptenna.com/v1/incidents/inc_W3p8Zq1MvRtY/updates", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"status":"identified","message":"A slow database query. We're rolling out a fix."}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const incident = await res.json();
```

## Response

Returns **201 Created** with the [incident object](https://uptenna.com/docs/api-objects#incident).

```json 201 Created
{
  "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_N8c4Vb1XzQ2m",
      "status": "identified",
      "message": "A slow database query. We're rolling out a fix.",
      "created_at": "2026-12-01T10:21:40.000Z",
      "updated_at": "2026-12-01T10:21:40.000Z"
    },
    {
      "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](https://uptenna.com/docs/api#errors)).

| Status | Code | When |
| --- | --- | --- |
| 400 | `invalid_update` | `status` or `message` is missing or invalid. |
| 409 | `incident_open` | `resolved` on an automatic incident that is still open. |
| 409 | `update_limit` | The incident already has 50 updates. |
| 429 | `rate_limited` | More than 30 posts that email subscribers (new incidents, updates, maintenance notices) in an hour. |
| 404 | `not_found` | No incident with this id in your account. |
| 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. |
