New monitors of any type can be created using this method.
name of monitor
Type: string
type of monitor
Type: string
URL to monitor
Type: string
the alert contacts to be notified when the monitor goes up/down.Multiple alertContactIDs can be sent like monitorAlertContacts=457_0_0-373_5_0-8956_2_3 where alertContactIDs are seperated with - and threshold + recurrence are seperated with _. For ex: monitorAlertContacts=457_5_0 refers to 457 being the alertContactID, 0 being the threshold and 0 being the recurrence. As the threshold and recurrence is only available in the Pro Plan, they are always 0 in the Free Plan)
Type: string
Type: string
Type: string
in minutes
Type: string
required for keyword monitoring
Type: string
required for keyword monitoring
Type: string
required for port monitoring
Type: string
required for port monitoring
Type: string
Alert contacts can be deleted using this method.
Monitors can be deleted using this method.
Monitors can be edited using this method. Important: The type of a monitor can not be edited (like changing a HTTP monitor into a Port monitor). For such cases, deleting the monitor and re-creating a new one is adviced.
ID of monitor to edit
Type: string
the alert contacts to be notified when the monitor goes up/down.Multiple alertContactIDs can be sent like monitorAlertContacts=457_0_0-373_5_0-8956_2_3 where alertContactIDs are seperated with - and threshold + recurrence are seperated with _. For ex: monitorAlertContacts=457_5_0 refers to 457 being the alertContactID, 0 being the threshold and 0 being the recurrence. As the threshold and recurrence is only available in the Pro Plan, they are always 0 in the Free Plan) (in order to remove any previously added alert contacts, simply send the value empty like monitorAlertContacts=
Type: string
name of monitor
Type: string
in order to remove any previously added password, simply send the value empty like monitorHTTPPassword=)
Type: string
in order to remove any previously added username, simply send the value empty like monitorHTTPUsername=
Type: string
in minutes
Type: string
required for keyword monitoring
Type: string
required for keyword monitoring
Type: string
required for port monitoring
Type: string
required for port monitoring
Type: string
type of monitor
Type: string
URL to monitor
Type: string
This operation has no parameters
The list of alert contacts can be called with this method.
if not used, will return all alert contacts in an account. Else, it is possible to define any number of alert contacts with their IDs like: alertcontacts=236-1782-4790
Type: string
used for pagination. Defines the max number of records to return for the response. Default and max. is 50
Type: string
used for pagination. Defines the record to start paginating. Default is 0
Type: string
This is a Swiss-Army knife type of a method for getting any information on monitors. By default, it lists all the monitors in a user's account, their friendly names, types (http, keyword, port, etc.), statuses (up, down, etc.) and uptime ratios. There are optional parameters which lets the getMonitors method to output information on any given monitors rather than all of them.
optional (defines if the notified alert contacts of each notification will be returned. Should be set to 1 for getting them. Default is 0. Requires logs to be set to1)
Type: string
optional (defines the number of days to calculate the uptime ratio(s) for. Ex: customUptimeRatio=7-30-45 to get the uptime ratios for those periods)
Type: string
optional (used for pagination. Defines the max number of records to return for the response. Default and max. is 50)
Type: string
ptional (defines if the logs of each monitor will be returned. Should be set to 1 for getting the logs. Default is 0)
Type: string
optional (the number of logs to be returned (descending order). If empty, all logs are returned.
Type: string
optional (if not used, will return all monitors in an account. Else, it is possible to define any number of monitors with their IDs like: monitors=15830-32696-83920)
Type: string
optional (used for pagination. Defines the record to start paginating. Default is 0)
Type: string
optional (defines if the response time data of each monitor will be returned. Should be set to 1 for getting them. Default is 0)
Type: string
optional (by default, response time value of each check is returned. The API can return average values in given minutes. Default is 0. For ex: the Uptime Robot dashboard displays the data averaged/grouped in 30 minutes)
Type: string
optional and works only for the Pro Plan as 24 hour+ logs are kept only in the Pro Plan (ending date of the response times, formatted as 2015-04-23 and must be used with responseTimesStartDate) (can only be used if monitors parameter is used with a single monitorID and responseTimesEndDate - responseTimesStartDate can't be more than 7 days)
Type: string
Type: string
optional (the number of response time logs to be returned (descending order). If empty, last 24 hours of logs are returned (if responseTimesStartDate and responseTimesEndDate are not used).
Type: string
optional (a keyword of your choice to search within monitorURL and monitorFriendlyName and get filtered results)
Type: string
optional (defines if the alert contacts set for the monitor to be returned. Default is 0)
Type: string
optional (defines if the user's timezone should be returned. Should be set to 1 for getting it. Default is 0)
Type: string
optional (if not used, will return all monitors statuses (up, down, paused) in an account. Else, it is possible to define any number of monitor statuses like: statuses=2-9)
Type: string
optional (if not used, will return all monitors types (HTTP, keyword, ping..) in an account. Else, it is possible to define any number of monitor types like: types=1-3-4)
Type: string
New alert contacts of any type (mobile/SMS alert contacts are not supported yet) can be created using this method. The alert contacts created using the API are validated with the same way as they were created from uptimerobot.com (activation link for e-mails, tc.).
Type: string
Type: string
Type: string
Monitors can be reset (deleting all stats and response time data) using this method.