Test webhooks on localhost with a stable URL
Webhook providers need a public HTTPS address. Give them one that stays the same every time you reconnect, so you set it once in the provider’s dashboard and never update it again.
How it works
-
Sign in and start a named tunnel
The name is reserved the first time you use it. Webhooks need public access, because the provider can’t sign in.
Shellyaktunnel login yaktunnel http 3000 --name stripe-webhooks --access public -
Paste the URL into the provider once
The CLI prints your endpoint’s URL. Add your webhook path to it in Stripe, GitHub or any other provider. Restarting the CLI or your laptop keeps the same URL.
-
Inspect what arrived
The local inspector shows every request and response on your machine, with nothing uploaded. Export the failures as HAR, or replay one after you fix the handler.
Shellyaktunnel inspect yaktunnel export --query /webhooks --method POST --status 500 yaktunnel replay REQUEST_ID
Need the CLI first? Install it and sign in.
Good to know
- A replay sends the request to your local app again, so it can repeat side effects such as charging a test card. Use test-mode data.
- Dashboard request history (kept 7 days, credentials redacted) and replay from the browser (Beta).
- Verify each provider’s signature in your handler. A replayed request carries the original signature, which some providers reject after a time window.
Related
Set it up in a few minutes.
The free plan needs no card and includes stable URLs from the first command.