ToolsMailgun Webhook Tester
Smart Parsing for Mailgun

Mailgun Webhook Tester

Mailgun puts signature fields IN the body and event data nested under event-data. HookRay surfaces event, recipient, timestamp, subject line, and the signature token so the meaningful state is visible top-level.

What HookRay Highlights from a Mailgun Webhook

HookRay: highlighted fields
Eventcritical
event-data.event"delivered"

delivered, opened, clicked, complained, failed, etc.

Recipientcritical
event-data.recipient"customer@example.com"
Timestamphigh
event-data.timestamp1763583600
Subjectmedium
event-data.message.headers.subject"Your order has shipped"

From the original message headers — useful for filtering by campaign.

Signature Tokenmedium
signature.token"77b1d2a3c4"

Part of the HMAC over timestamp + token. Production failure events additionally carry an event-data.id and event-data.severity.

webhook.site / raw: full JSON
{
  "signature": {
    "timestamp": "1763583600",
    "token": "77b1d2a3c4",
    "signature": "9ad98b88077c12af0abc12345def6789"
  },
  "event-data": {
    "event": "delivered",
    "timestamp": 1763583600,
    "recipient": "customer@example.com",
    "message": {
      "headers": {
        "subject": "Your order has shipped"
      }
    }
  }
}

Same payload, no parsing — you scroll, you scan, you guess.

Mailgun gotcha: The signature lives in body.signature (NOT a header). Use the Webhook Signing Key from Settings → API Security, not the API Key.

Test a Mailgun Webhook in 30 Seconds

  1. 1

    Get a free webhook URL

    Click Start Testing — HookRay generates an instant URL like https://hookray.com/api/hook/abc123. No signup.

  2. 2

    Paste it into Mailgun

    Open the Mailgun webhook settings (docs), paste the HookRay URL as your endpoint, and pick the events you want to receive.

  3. 3

    Trigger an event, inspect the payload

    Trigger a test event in Mailgun. HookRay captures the payload for raw inspection and one-click replay. The field guide above shows the 5 Mailgun paths the upcoming parser will surface — use it as a cheat sheet while you wire up your handler.

HookRay vs Generic Webhook Testers

Capabilitywebhook.siteHookRay
Free tier✓ 100 req✓ 100 req/mo
No signup required
Mailgun-specific field parsing
One-click replay✓ (Pro)✓ Free
30-day history$9/mo$9/mo
Persistent URLs$9/mo$9/mo

See the broader comparison in The 7 Best Webhook Testing Tools (2026).

Start Testing Mailgun Webhooks Now

Free, no signup. Raw capture and replay included; Mailgun smart parsing previewed above.

Get a Free Webhook URL

Deeper Mailgun Webhook Resources

Testers for Other Services