Skip to content

Webhooks quickstart

This is “get it working in two minutes” — no signature verification yet, no production-grade receiver. Point Ctrl+F at /docs/webhooks when you’re ready to harden.

Open webhook.site. It hands you a unique URL like https://webhook.site/#!/<random-uuid>. Copy the URL — that’s your temporary endpoint. Leave the page open; deliveries show up in real time.

  1. Sign in to the iGregulator dashboard.
  2. Click + create webhook.
  3. Paste the webhook.site URL.
  4. Subscribe to any event type for now — license.status_changed is the most common; you can change later.
  5. Submit. You’ll see a reveal dialog with a whsec_<base64url> secret — copy it (you’ll need it when you harden later) and click “copy + close”.

Back in the dashboard, click test on your new endpoint row. A result dialog pops up showing:

  • delivered: true
  • HTTP status your endpoint returned
  • Latency in ms
  • Response body

Switch to the webhook.site tab: the request is there, complete with headers, including:

X-iGregulator-Event: test.ping
X-iGregulator-Event-Id: evt_test_...
X-iGregulator-Signature: t=...,v1=...

That’s a real production-shape delivery — just flagged livemode: false in the envelope so you don’t treat it as business data.

  • Verify signatures. See /docs/webhooks § signature verification — includes Node / Python / curl examples.
  • Replace webhook.site. Stand up a real HTTP server; the same envelope + headers will land there.
  • Dedupe on event_id. At-least-once delivery means duplicates during retries. See Pattern C.
  • Understand retries. 7 attempts, jittered backoff — start at 30 s, end at ~24 h. Details in §5 retry policy.

Main reference: /docs/webhooks.