All posts
Guides
· 6 min read
Testing webhooks locally with the Hookline dev server
Stop deploying to find out whether your handler works. The dev server replays real events against localhost.
DO
Daniel Okafor
Developer Advocate

The hardest part of building a webhook handler is getting a realistic request to hit it on your machine. The Hookline CLI ships a dev server that solves exactly that.
Start the server
Run the CLI with your project key and a local port. It opens a tunnel, registers a temporary endpoint and prints the signing secret you need in your environment.
Replay a real event
Pick any event from the last seven days in the dashboard and hit replay with the local endpoint selected. The request arrives at localhost with a valid signature, and the terminal shows status, latency and the response body.
When you are done, stop the server and the temporary endpoint is deleted automatically.
Ship your first webhook in five minutes.
Buy this template
$49