The webhook.build CLI tool allows you to forward webhooks from your webhook.build endpoint directly to your local development server. This is perfect for testing webhook integrations without deploying your code or exposing your localhost to the internet.
When a webhook is received at your webhook.build endpoint, it's instantly forwarded to your local server via a secure realtime connection.
Note: This is a temporary distribution method. We're working on package managers and install scripts for easier installation.
whb-linux-amd64 - Linux (64-bit)whb-darwin-amd64 - macOS (Intel)whb-darwin-arm64 - macOS (Apple Silicon)whb-windows-amd64.exe - Windows (64-bit)whb (or whb.exe on Windows)chmod +x whb
sudo mv whb /usr/local/bin/
whb -e <endpoint-uuid> -f <forward-url>
whb -e 552540da-50fe-4c1c-a0b9-1be540c690c3 -f http://localhost:3000/webhook
This will forward all webhooks received at your webhook.build endpoint to http://localhost:3000/webhook.
-e, --endpoint <uuid>Required. Your webhook.build endpoint UUID. You can find this in your endpoint URL or on the endpoint page.
-f, --forward <url>Required. The local URL where webhooks should be forwarded. This is typically your local development server.
-p, --password <string>Optional password for password-protected endpoints.
--versionDisplay the CLI version.
--helpDisplay help information.
Tip: When the CLI is connected, you'll see a purple "CLI" badge on your endpoint page!
whb -e your-endpoint-uuid -f http://localhost:8080/webhooks
whb -e your-endpoint-uuid -f http://localhost:8080/webhooks -p your-password
whb -e your-endpoint-uuid -f http://localhost:3000 -v
whb -e your-endpoint-uuid -f http://localhost:3000/api/webhooks/stripe
Make sure your endpoint UUID is correct and that you have an active internet connection.
Verify that your local server is running and accessible at the forward URL. Use the -v flag to see detailed logs.
Make sure the binary is executable: chmod +x whb