Local testing
Two patterns work well for receiving sandbox webhooks during development:
- Tunnels. Run a tool like
cloudflared,ngrok, ortailscale serveand register the public URL as a sandbox webhook endpoint with ansk_test_…key. - Replay from the dashboard. Trigger an event once against a tunnel, then use the dashboard's Replay button to fire the same payload as many times as you need without waiting on real traffic.
Sandbox webhook traffic is tagged with "env": "sandbox" in every payload, which makes it safe to share an endpoint between sandbox and production if your handler branches on that field.