Skip to content

Webhooks Integration Guide

Webhooks + UptimeObserver Benefits

Integrating UptimeObserver with Webhooks enables real-time, automated communication between your uptime monitoring and external services.

Support

If you need help with this integration please reach out to us using the "Need Help?" button on the buttom right corner or send us an email at support@uptimeobserver.com.

Integration Walkthrough

  1. Go to UptimeObserver and log in to your account.
  2. Navigate to the Integrations section from your dashboard.
  3. Select Webhooks from the list of available integration options. Add Webhook
  4. You’ll need to create two webhooks:
    1. One for declaring an incident
    2. Another for resolving an incident

1. Incident Webhook Setup

Incident Webhook should be used by the Monitor Down event.

  1. Friendly name : Declare Incident WH
  2. URL : the webhook URL
  3. HTTP Method : POST
  4. Authentication : None. If you need to authenticate you can chose Basic Auth or Bearer.
  5. HTTP Body Encoding : application/json
  6. HTTP Body : Make sure you customize the body to match your target webhook.
    {
        incident_url: "__INCIDENT_URL__",
        incident_id: __INCIDENT_ID__,
        title: "Incident on __MONITOR_FRIENDLY_NAME__",
        description: "Incident on __MONITOR_FRIENDLY_NAME__. Root Cause: __INCIDENT_ROOT_CAUSE__",
        incident_status: "__INCIDENT_STATUS__",
        monitor_id: __MONITOR_ID__,
        monitor_name: "__MONITOR_FRIENDLY_NAME__",
        monitor_url: "__MONITOR_URL__"
    }
    
    7.Click Save Webhook, then test it using the Test Button 🧪.

2. Resolution Webhook Setup

Resolution Webhook should be used by the Monitor Up event.

  1. Friendly name : Resolve Incident WH
  2. URL : the webhook URL
  3. HTTP Method : POST
  4. Authentication : None. If you need to authenticate you can chose Basic Auth or Bearer.
  5. HTTP Body Encoding : application/json
  6. HTTP Body : Make sure you customize the body to match your target webhook.
    {
        incident_url: "__INCIDENT_URL__",
        incident_id: __INCIDENT_ID__,
        title: "Incident on __MONITOR_FRIENDLY_NAME__",
        description: "Incident on __MONITOR_FRIENDLY_NAME__. Root Cause: __INCIDENT_ROOT_CAUSE__",
        incident_status: "__INCIDENT_STATUS__",
        monitor_id: __MONITOR_ID__,
        monitor_name: "__MONITOR_FRIENDLY_NAME__",
        monitor_url: "__MONITOR_URL__"
    }
    
    7.Click Save Webhook, then test it using the Test Button 🧪.

Once completed, your Webhook integration is ready to automatically manage incidents in real-time!

3. Add alerts to your monitor

After configuring your webhooks, follow these steps to add alerts to your monitor:

  1. Navigate to your monitor.
  2. Scroll down to the Monitor Alerts section.
  3. Click Add Alert.
  4. Set the following parameters:
    1. Alert Type: Webhook
    2. Event: Monitor Up
    3. Webhook: Declare Incident Webhook
  5. Click Save Changes.
  6. Repeat the process to add another alert with the same settings for Resolve Incident WH webhook.

Everything is now set up—your webhooks will be triggered automatically based on the selected monitor events.

How to Uninstall

In UptimeObserver:

  1. Go to UptimeObserver and log in to your account.
  2. Navigate to the Integrations section from your dashboard.
  3. Select Webhooks from the list of available integration options.
  4. Delete the webhooks