v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Checks

Creates a new check.

Creates a new check with settings specified by provided parameters.

post/checks

Request body

OR
OR
OR
OR
OR
OR
OR

Example request

{
  "url": "my.pingdom.com",
  "encryption": true,
  "port": 443,
  "shouldcontain": "Expected string",
  "shouldnotcontain": "This should not appear on checked site",
  "postdata": "Data to be send to server",
  "auth": "User:e4gh51!",
  "name": "mycheck",
  "host": "www.example.com",
  "type": "http",
  "resolution": 5,
  "sendnotificationwhendown": 2,
  "notifywhenbackup": true,
  "responsetime_threshold": 30000
}

Response

Successful operation

Example response

{
  "check": {
    "id": 138631,
    "name": "My new HTTP check"
  }
}