v2
latestOpenAPI 3.0.02026-07-261859071.2 MBChecks
Create a check
[DEPRECATED] This endpoint will be removed soon. Instead use POST /checks/api or POST /checks/browser. Creates a new API or browser check. Will return a 402 when you are over the limit of your plan. When using the globalAlertSettings, the alertSettings can be null
post/v1/checks
Query parameters
autoAssignAlertsboolean
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.
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": "Check",
"locations": [
"us-east-1",
"eu-central-1"
],
"tags": [
"production"
],
"alertChannelSubscriptions": [],
"environmentVariables": [
{
"key": "API_KEY"
}
],
"privateLocations": [
"data-center-eu"
]
}Response
Created