HookSpy CLI - Forward webhooks to localhost in real-time. Capture webhooks from Stripe, GitHub, Twilio and more, then forward them to your local development server. No more deploying to test webhooks!
$ dotnet add package hookspyForward webhooks from HookSpy.net to your local development server in real-time.
Stop deploying just to test webhooks! HookSpy captures webhooks from services like Stripe, GitHub, Twilio, and more, then forwards them directly to your localhost.
dotnet tool install -g hookspy
hookspy -e <endpoint-slug> -t http://localhost:3000/webhook -k <api-key>
hookspy --endpoint <slug> --target <local-url> --api-key <your-api-key>
# Forward webhooks to your local Express server
hookspy -e abc123 -t http://localhost:3000/webhooks -k hspy_xxxx
# Forward to ASP.NET Core app
hookspy -e my-endpoint -t https://localhost:5001/api/webhooks -k hspy_xxxx
| Option | Alias | Description |
|---|---|---|
--endpoint | -e | Your HookSpy endpoint slug |
--target | -t | Local URL to forward webhooks to |
--api-key | -k | Your HookSpy API key |
--server | -s | HookSpy server URL (default: https://hookspy.net) |
MIT