Skip to main content

Webhooks - Uptime Alerts

This is a feature of Paid Plans.

Setup#

  • You can provide your webhook URL when creating a new Uptime Monitor: Adding an Uptime Monitor with Webhook URL

  • Alternatively, you can add your webhook URL to an existing Uptime Monitor by:

    • Clicking "Edit" in the Dropdown menu for your Uptime Monitor:

    Edit Uptime Check

    • and adding your webhook URL:

    Updating an Uptime Monitor with Webhook URL

Format#

The following is subject to change. We will never change the format or name of these fields without releasing a new API version. You will be able to specify the API version OnlineOrNot uses in the Settings page.

The data that OnlineOrNot sends for the 2021-05-28 version of the Webhooks notification API is as follows:

Down Alert#

OnlineOrNot will POST the following JSON to your webhook URL when your site is DOWN:

{  "event": "uptime.down",  "trigger": "down",  "name": "Some Page",  "url": "https://yourpagesURL.com"}

Up Alert#

OnlineOrNot will POST the following JSON to your webhook URL when your site is UP:

{  "event": "uptime.up",  "trigger": "up",  "name": "Some Page",  "url": "https://yourpagesURL.com"}