Integrations

Discord Integration

Get instant alerts in any Discord server. DeadPing posts embedded messages to a Discord channel when a monitor goes down, recovers, or detects an anomaly. Pro plan required.

Setup

  1. In Discord, open your server and go to Server Settings → Integrations → Webhooks
  2. Click “New Webhook”
  3. Give it a name (e.g. DeadPing), choose the channel, and optionally set an avatar
  4. Click “Copy Webhook URL” — it looks like https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz
  5. In DeadPing, go to Settings → Integrations, expand Discord, paste the URL, and click Save

Payload Format

DeadPing posts Discord embeds directly to your webhook URL. Each alert type uses a distinct color and set of fields.

Down alert payload
{
  "embeds": [
    {
      "title": "🔴 ALERT: nightly-backup is DOWN",
      "color": 16711680,
      "fields": [
        { "name": "Monitor", "value": "nightly-backup", "inline": true },
        { "name": "Expected", "value": "every 60 minutes", "inline": true },
        { "name": "Last ping", "value": "Mon, 09 Mar 2026 03:00:12 UTC", "inline": false },
        { "name": "Grace period", "value": "300s elapsed", "inline": true }
      ],
      "url": "https://deadping.io/dashboard/abc123",
      "timestamp": "2026-03-09T03:05:12.000Z"
    }
  ]
}
Recovery alert payload
{
  "embeds": [
    {
      "title": "🟢 RECOVERED: nightly-backup is back up",
      "color": 2263842,
      "fields": [
        { "name": "Monitor", "value": "nightly-backup", "inline": true },
        { "name": "Down for", "value": "~14 minutes", "inline": true }
      ],
      "url": "https://deadping.io/dashboard/abc123",
      "timestamp": "2026-03-09T03:14:12.000Z"
    }
  ]
}
Anomaly alert payload
{
  "embeds": [
    {
      "title": "⚠️ ANOMALY: billing-sync duration spike",
      "color": 16750848,
      "fields": [
        { "name": "Monitor", "value": "billing-sync", "inline": true },
        { "name": "Type", "value": "Duration spike", "inline": true },
        { "name": "Actual", "value": "12,340ms", "inline": true },
        { "name": "Baseline", "value": "3,100ms (4.2x deviation)", "inline": true }
      ],
      "url": "https://deadping.io/dashboard/def456",
      "timestamp": "2026-03-09T04:00:00.000Z"
    }
  ]
}

Plan Requirement

The Discord integration requires the Pro plan or above. Configure it at Settings → Integrations.