{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with Mailgun.",
  "vendor": "mailgun",
  "event": "complained",
  "resource": "engagement",
  "url": "https://hookdeck.com/webhooks/mailgun/events#complained",
  "description": "Recipient reports the message as spam through a feedback loop",
  "trigger": null,
  "listed_in": "https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/webhooks.md",
  "confidence": "documented",
  "schema_source": "official schema",
  "identified_by": "event-data.event field in the body",
  "payload": {
    "provenance": "vendor-source",
    "value_realism": "doc-example-values",
    "field_count": 32,
    "key_fields": [],
    "delivery": {
      "title": "From Mailgun docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "signature": {
        "token": "e0b5477167110d68991efc6b9f89f0a11066af27834600e123",
        "timestamp": "1770920772",
        "signature": "12d99f5a15355c180971bed7494d578b093c958f57766f3fe750761baed12345"
      },
      "event-data": {
        "event": "complained",
        "id": "rIVDlyk8SY-mJauQoYmNFA",
        "timestamp": 1770920772.2684145,
        "log-level": "warn",
        "account": {
          "id": "1234567890303a4bd1f33898"
        },
        "domain": {
          "name": "sample.mailgun.com"
        },
        "message": {
          "headers": {
            "to": "recipient@sample.mailgun.com",
            "message-id": "20260212182531.0d5ed3254c319957@sample.mailgun.com",
            "from": "Sample Sender <sender@sample.mailgun.com>",
            "subject": "Sample webhook payload"
          },
          "size": 11002
        },
        "campaigns": [],
        "recipient": "recipient@sample.mailgun.com",
        "recipient-domain": "sample.mailgun.com",
        "recipient-provider": "Other",
        "tags": [
          "webhook_payload"
        ],
        "user-variables": [],
        "envelope": {
          "sending-ip": "161.38.194.10"
        },
        "storage": {
          "key": "XXXXAQVV4uE1s5YYj9ZJq7Ge6flueUXXXX",
          "url": "https://storage-us-west1.api.mailgun.net/v3/domains/sample.mailgun.com/messages/BAABAQVV4uE1s5YYj9ZJq7Ge6flueUcDZQ"
        }
      }
    }
  }
}