Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Path Parameters
Query Parameters
You use it to include all the incident updates.
Response
Successful
A name used to describe the incident.
"Service outage"
Used to indicate the impact or severity.
MAINTENANCE
, MAJOR
, MINOR
"MINOR"
The dashboard ID where the incident will be shown.
1234
The incident universal and unique identificator.
"e50ad839-1b90-4955-b716-1c6edbda57cb"
The timestamp when the incident was created.
"2022-09-08T19:41:28.658Z"
The timestamp when last the incident update.
"2022-09-08T20:41:28.658Z"
The first incident update with the status and description. It must be only one element.
1
[
{
"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
}
]
Used to indicate when incident starts to be active.
"2022-11-25 12:34:56"
Used to indicate when incident turns to inactive.
"2022-11-25 13:34:56"