const url = 'https://app.monitorly.cloud/api/v1/status-pages/PAGE_ID/incidents';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"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"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The status page’s id.
Example
PAGE_IDHeader Parameters
Section titled “Header Parameters”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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Text of the first update.
Components the incident affects; none by default.
object
A component of this page (ComponentView.id).
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.
false: post on the page without telling its subscribers. Absent or true: a published page announces
the post to its subscribers.
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"}Responses
Section titled “Responses”The post.
object
The automatic incident this post was published from (“publish” button), if any.
In page order.
object
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.
<status host>/<slug>/incidents/<id>; null when the installation has no status page address.
Oldest first.
object
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 shaperequest.idempotency_key_invalid: the key is empty or longer than 255 charactersauth.credentials_conflict: the request carries both a session cookie and a token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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 endedtoken.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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 thistoken.scope_missing: the token lacks the scope this needs;detailnames itrequest.origin_mismatch,request.header_required: a changing request with a session comes from another site or lacksX-Monitorly-Request: 1
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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;errorspoints at itstatus_page.component_unknown: affected component is not from this page or is repeatedstatus_page.auto_incident_unknown: auto incident does not exist in the page’s project
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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 tokensession.rate_limited: more than 5 changes a second from your sessionstoken.create_limited: more than 30 resources created within an hour from one token;Retry-Afterin seconds
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds to wait before trying again.