Assign a webhook url to any of your contact lists, so you can receive Uptime Monitoring notifications in real time, directly to your platform.

Screenshot_1

 

Here are the variables that our system will post to your script:
monitor_id
monitor_name
monitor_target
monitor_type – can be: ‘website’, ‘ping’, ‘service[X]’, ‘smtp[X]’ (where X is the monitored port)
monitor_category
monitor_status – can either be ‘online’ or ‘offline’

The names are pretty much self explanatory.

 

You can find the ID of any of your uptime monitors, by simply accessing their uptime report, the ID will be in the url:

Screenshot_2

 

Here’s a PHP code example that you could use to capture these variables in your webhook script:
<?php
$monitor_id = $_POST['monitor_id'];
$monitor_name = $_POST['monitor_name'];
$monitor_target = $_POST['monitor_target'];
$monitor_type = $_POST['monitor_type'];
$monitor_category = $_POST['monitor_category'];
$monitor_status = $_POST['monitor_status'];
?>

Once you capture the variables, you can use them however you wish with your own code.

Make sure to sanitize the captured data before using it.

 

If you wish to restrict access to your webhook script, here’s the IP address that will be sending our webhook notifications:

192.95.8.45

 

Webhooks are currently available only for uptime alerts, there are no webhook notifications sent out for your blacklist monitors.