MenuWebhooks

Webhooks

On this page

A webhook destination sends each alert as JSON to your own HTTPS endpoint: for your incident tool, a chat bridge, or your own automation.

Set it up

  1. In My Alerts → Destinations, press Add destination and pick Webhook (the dialog opens on Telegram).
  2. Paste the URL. It must start with https:// and point at the public internet: an address on a private or internal network (such as localhost, 10.0.0.0/8 or a .internal name) is refused when you save.
  3. Press Add destination, then Test. Your endpoint receives the test event.

The request

  • An HTTP POST with Content-Type: application/json and User-Agent: Roundbeat-Alerter/1.0. The body is one alert.
  • Any 2xx answer counts as delivered. Anything else, or no answer within 10 seconds, is a failure and is retried, so the same alert can arrive more than once: de-duplicate on fingerprint.
  • Answer at the URL you saved; do not rely on redirects.

The payload

The examples use the made-up operator Acme Staking.

Alert event

POST body: an offline key
{
  "org_id": "5b0e3c1a-2f4d-4c7e-9a61-0d8f3b2c7e14",
  "monitor_id": "c2a9e7d4-81f3-4b6a-a0e5-7f19d4c3b862",
  "validator_index": 1205584,
  "event_type": "attestation_missed",
  "severity": "critical",
  "title": "⚠️ Offline (3 missed epochs) — Acme Staking",
  "body": "…Telegram HTML…",
  "slack_body": "…Slack mrkdwn…",
  "labels": {
    "chain": "ethereum",
    "effective_balance_gwei": 32000000000,
    "epoch": 480797,
    "module_id": 1,
    "module_name": "Curated v1",
    "operator_id": 41,
    "operator_name": "Acme Staking",
    "outage_id": "6a1e0c9e-8a7c-4b8e-9d1f-0f3b2d1c4e5a",
    "validator_index": 1205584
  },
  "fingerprint": "eth:1:41:eth.likely_offline:1205584"
}
org_id
Your organization.
monitor_id
The monitor the event reached your organization through. A retried delivery carries the zero UUID.
validator_index
The validator, or 0 for an alert about several validators (a grouped alert) or about an operator.
event_type
The rule type, as in alert types.
severity
critical, warning or info.
title
Plain text with emoji, the same title the other channels show.
body
The message as Telegram HTML. Every validator link in it, and in slack_body, opens the validator’s page on RoundBeat (validator page).
slack_body
The message as Slack mrkdwn.
labels
Context for filtering and routing. Every alert has chain and module_id; one about an operator also operator_id and operator_name.
  • Beacon-chain events (offline keys, proposals, slashings, exits, status changes, sync committees, exit deadlines): validator_index, epoch and module_name; effective_balance_gwei when known; offline alerts also outage_id. Sync committee alerts add the period: sync_period, period_start_epoch, period_end_epoch, period_start_time, period_end_time and is_current.
  • On-chain contract events (exit requests, CSM and Curated v2 events): block_number, transaction_hash, log_index, contract, event, and validator_index when the event names one. An exit request adds requested_at, deadline, allowed_exit_delay_s (its exit window in seconds), exit_delay_fee_estimate_eth (when RoundBeat can estimate it) and pubkey.
  • Curated v2 migration alerts (one per operator): epoch, event and module_name; consolidation alerts add validator_count and the target.
  • A late alert has "delayed": true. A grouped alert carries the labels of its first event.
fingerprint
Identifies the alert for cooldowns and de-duplication. A grouped alert has a hash of its members’ fingerprints.

Validators of a withdrawal-address or validator-list monitor have module_id 0, operator_id 0 and an operator_name starting "Custom validators". New fields and labels are added over time: ignore the ones you do not know.

Recovery event

The end of an offline outage, sent once to each webhook that received one of its alerts. Match it to its alerts by labels.outage_id.

POST body: an outage recovery
{
  "org_id": "5b0e3c1a-2f4d-4c7e-9a61-0d8f3b2c7e14",
  "monitor_id": "c2a9e7d4-81f3-4b6a-a0e5-7f19d4c3b862",
  "validator_index": 0,
  "event_type": "attestation_recovered",
  "severity": "info",
  "title": "✅ Acme Staking: all 12 keys back online after 41 min",
  "body": "…Telegram HTML…",
  "slack_body": "…Slack mrkdwn…",
  "labels": {
    "all_back_at": "2026-10-03T09:04:00Z",
    "chain": "ethereum",
    "duration_seconds": 2460,
    "effective_balance_gwei": 384000000000,
    "first_alert_at": "2026-10-03T08:23:00Z",
    "keys": 12,
    "keys_back_online": 12,
    "keys_no_longer_active": 0,
    "keys_no_longer_monitored": 0,
    "module_id": 1,
    "module_name": "Curated v1",
    "operator_id": 41,
    "operator_name": "Acme Staking",
    "outage_id": "6a1e0c9e-8a7c-4b8e-9d1f-0f3b2d1c4e5a",
    "outage_status": "resolved"
  },
  "fingerprint": "outage:6a1e0c9e-8a7c-4b8e-9d1f-0f3b2d1c4e5a:recovered"
}
  • effective_balance_gwei is present only when every key’s effective balance is known.
  • keys_no_longer_active counts keys that exited while offline; keys_no_longer_monitored keys whose monitor was removed.
  • monitor_id is the zero UUID when the outage’s keys reached your organization through more than one monitor.

Test event

POST body: a test
{
  "org_id": "5b0e3c1a-2f4d-4c7e-9a61-0d8f3b2c7e14",
  "monitor_id": "00000000-0000-0000-0000-000000000000",
  "validator_index": 0,
  "event_type": "test",
  "severity": "info",
  "title": "🧪 RoundBeat Test Alert",
  "body": "This is a test alert from RoundBeat. If you receive this, your destination is configured correctly.",
  "slack_body": "",
  "fingerprint": ""
}

Keep the URL secret

  • The full URL is the secret. Anyone who has it can post to your endpoint, so put a long, hard-to-guess token in it, as many receivers do, and share it only where it is needed.
  • RoundBeat stores it hidden. After you save, the app shows only its scheme and host, such as https://hooks.example.com/…, to every role, owners included.
  • To rotate it, edit the destination and enter the new URL, then send a test. Leaving the field blank keeps the saved one.
  • Every request, the test included, carries your organization’s org_id, so your endpoint can also turn away bodies with any other.

Written for RoundBeat 1.124. Facts checked against the app source on 20 Nov 2026.