Skip to content

Webhook Integration

Overview

The Webhook integration allows you to send Onagre alert notifications to any HTTP endpoint. This is useful when you want to connect Onagre to a custom service, an automation platform, or any system that can receive HTTP POST requests with a JSON payload.

Subscription

This integration requires a Pro subscription or higher.

Prerequisites

You need an HTTP endpoint that can accept POST requests with a JSON body. This can be any publicly accessible URL, such as:

  • A custom API endpoint on your server.
  • An automation platform like Zapier, Make, or n8n.
  • A serverless function (AWS Lambda, Azure Functions, etc.).

Configuration Options

  • Name (required): A unique name to identify this integration, e.g. My custom webhook.
  • Webhook URL (required): Any valid URL that accepts POST requests, e.g. https://your-service.com/webhook.

How It Works

When an alert fires, Onagre sends an HTTP POST request to the configured URL with a JSON payload containing the alert details. Your endpoint should return an HTTP 2xx status code to acknowledge receipt.

Summary

The Webhook integration gives you full flexibility to route Onagre alerts to any HTTP-capable service. Point it at your endpoint, and Onagre will deliver alert payloads as JSON POST requests.