v2
latestOpenAPI 3.0.02026-07-261859071.2 MBMonitors
Create an SSL monitor
Creates a new SSL monitor. Will return a 402 when you are over the limit of your plan. When using the globalAlertSetting, the alertSetting can be null
post/v1/checks/ssl
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": [],
"request": {
"sslConfig": {
"hostname": "api.checklyhq.com"
},
"assertions": [
{
"source": "CERT_EXPIRES_IN_DAYS",
"comparison": "GREATER_THAN",
"target": "7"
}
]
},
"environmentVariables": [
{
"key": "API_KEY"
}
],
"privateLocations": [
"data-center-eu"
]
}Response
Created
Example response
{
"id": "9d6df684-0bc3-4a38-a094-4e97627dd93e",
"name": "Check",
"locations": [
"us-east-1",
"eu-central-1"
],
"tags": [
"production"
],
"alertChannels": {
"sms": [
{
"number": "+549110000000",
"name": "SMS Alert"
}
]
},
"privateLocations": [
"data-center-eu"
],
"request": {
"sslConfig": {
"hostname": "api.checklyhq.com"
},
"assertions": [
{
"source": "CERT_EXPIRES_IN_DAYS",
"comparison": "GREATER_THAN",
"target": "7"
}
]
}
}