Skip to content

Webhooks

Webhooks (/webhooks) covers two distinct systems: Convoy-powered delivery for sending events to your consumers, and built-in test listeners (request bin) for local debugging.

Convoy endpoints

Convoy is an open-source webhook gateway that handles reliable event delivery with:

  • Automatic retries with exponential backoff
  • Dead-letter queues for failed deliveries
  • Delivery attempt logs with request/response details
  • Endpoint health tracking

Creating an endpoint

Click + New Endpoint and provide:

Field Description
url Target URL to deliver events to
description Human-readable label
events Array of event types to subscribe to (empty = all)
secret HMAC signing secret for payload verification

Deliveries tab

The Deliveries tab shows all delivery attempts with:

  • Event type and payload preview
  • HTTP status code from the target
  • Delivery latency
  • Retry count
  • Retry button for failed deliveries

Pausing an endpoint

Use the pause toggle to temporarily stop deliveries to an endpoint without deleting it. Useful during maintenance windows.

Test listeners (request bin)

Test listeners are ephemeral HTTP endpoints that capture inbound requests. Use them to test webhook delivery without a real server.

Creating a listener

Click + New Listener. A unique URL is generated:

POST http://localhost:3000/api/webhooks/receive/:id

Point Convoy (or any webhook sender) at this URL. Every request is captured and shown in real-time.

Viewing captured requests

The listener detail view shows the last 100 captured requests with:

  • HTTP method, headers, and body
  • Timestamp and response time
  • A Copy URL button for the receive endpoint

Click any request to see the full payload.

Clearing requests

Click Clear to delete all captured requests for a listener.

Dispatching an event

Terminal window
POST /api/webhooks/dispatch
{
"eventType": "subscription.created",
"payload": { "subscriptionId": "sub_..." }
}

This sends the event to all Convoy endpoints subscribed to that event type.

API

See Webhooks API Reference.