Skip to main content

What you will build

A local HTTP server that receives Arcus webhook events, verifies the signature, and logs the event type. You will then trigger a real event from the Arcus app and see it arrive.

Prerequisites

  • An API key with webhooks:write scope
  • Node.js 18 or later (or adapt the examples to your stack)
  • ngrok or similar tunnel (to expose localhost to the internet)

Step 1: Start a local server

Step 2: Expose with ngrok

Copy the https:// forwarding URL (e.g. https://abc123.ngrok-free.app).

Step 3: Register the endpoint

Save the signing_secret from the response:
Restart your server with the real secret.

Step 4: Trigger an event

In the Arcus app, create a new draft order and confirm it. Within a few seconds, your terminal should show:

Step 5: Handle events safely

In production, follow these patterns:

Next steps

  • Read Webhooks for the full event catalog and retry behavior
  • Add more event types to your subscription in Settings > Developers > Webhooks
  • Set up monitoring to alert on delivery failures (Arcus retries 6 times over 24 hours)