Request
Bodyapplication/json
namestringrequired
Pronounceable name of the monitor
Example:"My Website"
urlstringrequired
The URL of your website or host you want to ping
Example:"https://acme.com"
protocolenum<string>optional
Type of monitor to create
Default:
httpregionsarray<string>optional
Array of region names to monitor from
Default: all regions
check_frequencynumberoptional
Check frequency in seconds
Default:
30http_methodenum<string>optional
HTTP method for the request
Default:
GETrequest_bodystringoptional
Request body for POST, PUT, PATCH requests
request_headersarray<object>optional
Array of objects with
name and value properties for custom HTTP headersfollow_redirectsbooleanoptional
Whether to follow HTTP redirects
Default:
trueportnumberoptional
Port number to check. Required if protocol is
portExample:443
expected_status_codestringoptional
Expected HTTP status code
Example:"2xx"
Default:
2xx (200-299)required_keywordstringoptional
Triggers downtime if body response is missing this keyword
pausedbooleanoptional
Whether the monitor should be paused
Default:
falsealerts_waitnumberoptional
Minutes to wait before sending alerts. Use
-1 to disable alerts.Default:
0escalation_policystringoptional
Policy UUID to link. Send
null or "none" to unlink.Example:"policy_123abc"
Response
Returns the newly created monitor object.