Skip to content

Post an incident

POST
/api/v1/status-pages/{pageId}/incidents
curl --request POST \
--url https://app.monitorly.cloud/api/v1/status-pages/PAGE_ID/incidents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "body": "Some card payments take longer than usual to confirm. We are looking into it.", "components": [ { "componentId": "COMPONENT_ID", "impact": "partial" } ], "notify": true, "state": "investigating", "title": "Payments are slow to confirm" }'

Posts an incident on the page with its first update and the components it affects, optionally linked to an incident of the page’s project. On a published page the post goes to its subscribers: send an Idempotency-Key so that a retry does not announce it twice. Needs the editor role.

pageId
required
string format: uuid

The status page’s id.

Example

PAGE_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
autoIncidentId
string | null format: uuid
body
required

Text of the first update.

string
components

Components the incident affects; none by default.

Array<object>
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: post on the page without telling its subscribers. Absent or true: a published page announces the post to its subscribers.

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

Example

{
"body": "Some card payments take longer than usual to confirm. We are looking into it.",
"components": [
{
"componentId": "COMPONENT_ID",
"impact": "partial"
}
],
"notify": true,
"state": "investigating",
"title": "Payments are slow to confirm"
}

The post.

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": null,
"state": "investigating",
"title": "Payments are slow to confirm",
"updates": [
{
"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
  • status_page.auto_incident_unknown: auto incident does not exist in the page’s project
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
  • token.create_limited: more than 30 resources created within an hour from one token; Retry-After in seconds
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.