Skip to content

Add an update to a post

POST
/api/v1/page-incidents/{incidentId}/updates
curl --request POST \
--url https://app.monitorly.cloud/api/v1/page-incidents/INCIDENT_ID/updates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "body": "Payments confirm as fast as usual again.", "notify": true, "state": "resolved" }'

Adds an update to an incident post and moves it to the update’s state. components replaces the affected components; without it they stay. On a published page the update goes to its subscribers; a retry with the same Idempotency-Key answers the stored update instead of sending it again. Needs the editor role.

incidentId
required
string format: uuid

The incident post’s id.

Example

INCIDENT_ID
Idempotency-Key
string
>= 1 characters <= 255 characters

Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers 422 request.idempotency_key_reused. Keys are kept for 24 hours.

Media typeapplication/json
object
body
required
string
components

Replaces the affected components when given; missing keeps them.

Array<object> | null
object
componentId
required

A component of this page (ComponentView.id).

string format: uuid
impact
required

How badly a manual incident affects a component. While the incident is not resolved, the page shows the component as degraded performance, partial outage or major outage, unless its check is worse.

string
Allowed values: degraded partial major
notify

false: add the update without telling the page’s subscribers. Absent or true: a published page announces it.

boolean | null
state
required
string
Allowed values: investigating identified monitoring resolved

Example

{
"body": "Payments confirm as fast as usual again.",
"notify": true,
"state": "resolved"
}

The post with its new update.

Media typeapplication/json
object
autoIncidentId

The automatic incident this post was published from (“publish” button), if any.

string | null format: uuid
components
required

In page order.

Array<object>
object
componentId
required
string format: uuid
impact
required

How badly a manual incident affects a component. While the incident is not resolved, the page shows the component as degraded performance, partial outage or major outage, unless its check is worse.

string
Allowed values: degraded partial major
name
required
string
createdAt
required
string
createdBy
string | null format: uuid
id
required
string format: uuid
pageId
required
string format: uuid
publicUrl

<status host>/<slug>/incidents/<id>; null when the installation has no status page address.

string | null
resolvedAt
string | null
state
required
string
Allowed values: investigating identified monitoring resolved
title
required
string
updates
required

Oldest first.

Array<object>
object
body
required
string
createdAt
required
string
createdBy
string | null format: uuid
id
required
string format: uuid
state
required
string
Allowed values: investigating identified monitoring resolved

Example

{
"components": [
{
"componentId": "COMPONENT_ID",
"impact": "partial",
"name": "Payments API"
}
],
"createdAt": "2026-11-27T14:05:00Z",
"id": "POST_ID",
"pageId": "PAGE_ID",
"publicUrl": "https://status.monitorly.cloud/acme/incidents/POST_ID",
"resolvedAt": "2026-11-27T14:12:00Z",
"state": "resolved",
"title": "Payments are slow to confirm",
"updates": [
{
"body": "Payments confirm as fast as usual again.",
"createdAt": "2026-11-27T14:12:00Z",
"id": "UPDATE_ID_2",
"state": "resolved"
},
{
"body": "Some card payments take longer than usual to confirm. We are looking into it.",
"createdAt": "2026-11-27T14:05:00Z",
"id": "UPDATE_ID_1",
"state": "investigating"
}
]
}

Bad Request.

  • request.malformed: the body or a parameter is not of the expected shape
  • request.idempotency_key_invalid: the key is empty or longer than 255 characters
  • auth.credentials_conflict: the request carries both a session cookie and a token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unauthorized.

  • auth.unauthenticated, auth.session_expired: no session, or it ended
  • token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Forbidden.

  • auth.forbidden: your role is too low for this
  • token.scope_missing: the token lacks the scope this needs; detail names it
  • request.origin_mismatch, request.header_required: a changing request with a session comes from another site or lacks X-Monitorly-Request: 1
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Not Found.

  • request.not_found: it does not exist, or you cannot see it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Payload Too Large.

  • request.too_large: the body is larger than 256 KiB
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unprocessable Entity.

  • field.required, field.too_long, field.invalid: a field breaks a rule; errors points at it
  • status_page.component_unknown: affected component is not from this page or is repeated
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Too Many Requests.

  • token.rate_limited: more than 10 requests a second with this token
  • session.rate_limited: more than 5 changes a second from your sessions
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}
Retry-After
integer
>= 1

Seconds to wait before trying again.