Webhooks

« back to feature list

Webhooks represent a technique for instantly transferring data between applications. Unlike APIs, the receiving application doesn't have to query the sending application - the communication is initiated by the sending application.

Webhooks

Super Monitoring allows you to send alerts as a webhook to any URL. This can be the URL of Slack, Zapier, IFTTTor any other application or script that accepts webhooks.

How it works

Depending on how the check is configured, alerts are sent when an event is detected, when a problem is extending, or when an event is finished. The same information that is included in an email alert can be provided as a webhook in JSON format.

Example of an alert webhook message:

{
    "check": {
        "id": "4103",
        "name": "My Website",
        "proto": "https",
        "url": "www.mywebsite.com/mypage",
        "type": "availability"
    },
    "event": {
        "eventID": "1122126",
        "eventStart": "2021-01-02 15:59:03",
        "eventEnd": null,
        "alert": "started",
        "response": {
            "eventError": "HTTP 404",
            "info": "The server returned a response different than 200 OK."
        }
    },
    "TimeZone": "GMT-03:00"
}

Configuration

To start sending alerts as webhooks, you need to:
  1. Retrieve the webhook URL from the target application.
  2. Add a new webhook in the "Contacts" section, give it a name and paste the URL of the webhook.
  3. Enable sending alerts to the created webhook in the settings of selected checks.


« back to feature list