v2
latestOpenAPI 3.0.02026-07-261859071.2 MBIncidents
Create an incident
Creates a new incident.
post/v1/incidents
Headers
x-checkly-accountstring
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Request body
Example request
{
"name": "Service outage",
"impact": "MINOR",
"startedAt": "2022-11-25T12:34:56.000Z",
"stoppedAt": "2022-11-25T13:34:56.000Z",
"dashboardId": 1234,
"incidentUpdates": [
{
"status": "INVESTIGATING",
"description": "The service is down and affects all the regions."
}
]
}Response
Successful
Example response
{
"name": "Service outage",
"impact": "MINOR",
"startedAt": "2022-11-25T12:34:56.000Z",
"stoppedAt": "2022-11-25T13:34:56.000Z",
"dashboardId": 1234,
"id": "e50ad839-1b90-4955-b716-1c6edbda57cb",
"created_at": "2022-09-08T19:41:28.658Z",
"updated_at": "2022-09-08T20:41:28.658Z",
"incidentUpdates": [
{
"id": "01f477f8-4293-4e1c-82bd-99797720434c",
"status": "RESOLVED",
"description": "The service is up and all is recovered.",
"incidentId": "3abcfdfe-ae2d-4632-8dd1-18dd871e18fc",
"created_at": "2022-09-08T20:56:48.425Z",
"updated_at": null
},
{
"id": "1f0640f8-1910-4137-b91d-ed152faa92e6",
"status": "INVESTIGATING",
"description": "The service is down and affects all the regions.",
"incidentId": "3abcfdfe-ae2d-4632-8dd1-18dd871e18fc",
"created_at": "2022-09-08T18:56:48.425Z",
"updated_at": null
}
]
}