Webbu Docs

Testing Webhooks

How to test your integration with Webbu.

Test the destination from the dashboard

On the Buffers page, use Test on a buffer. Webbu sends a sample payload straight to the delivery URL (with your custom headers and signing) and shows the status code, duration and response. It doesn't use credits or go through buffering.

Use a temporary destination

webhook.site gives you a URL that records requests:

  1. Copy your unique URL from webhook.site
  2. Use it as the buffer's delivery URL
  3. Send a few webhooks to the ingest URL
  4. After the idle timeout, see the batch arrive on webhook.site

Send webhooks with cURL

for i in 1 2 3; do
  curl -X POST https://webbu.dev/api/v1/ingest/p_shop/b_orders \
    -H "Content-Type: application/json" \
    -d "{\"event\": \"test.$i\", \"customerId\": \"test_user\"}"
done

All three share the group key, so they arrive as one batch. Each accepted webhook uses credits.

Expose a local server

To deliver to a server on your machine, expose it with a tunnel such as ngrok:

ngrok http 3000

Use the generated https:// URL as the delivery URL.

Try the API in the browser

The interactive API reference has a "Try it" feature:

  1. Open webbu.dev/api/docs
  2. Enter your API key in the authentication section
  3. Pick an endpoint, fill in the parameters and send the request

Verify the result

  1. Check the batch at your destination
  2. Look at Dashboard or Analytics for requests and deliveries
  3. Check the DLQ for failures

On this page