Live
Free tier included
Webhook Relay & Queue API
Create relay endpoints that receive, log, and fan-out webhooks to multiple destinations. Full request logging, delivery tracking, and instant replay for debugging.
Fan-out to 10 URLs
Request Logging
Delivery Tracking
Any HTTP Method
Interactive Playground
Try it Free
Create a relay endpoint and start forwarding webhooks in seconds.
Create Relay
Relay Stats
Enter a Relay ID to view stats and logs
API Documentation
Create relay endpoints that receive webhooks and fan them out to multiple destinations. Full request logging, delivery tracking, and replay support.
Endpoints
POSThttps://www.mahmoudalhabash.com/api/v1/relay/create
Create a new webhook relay.
GEThttps://www.mahmoudalhabash.com/api/v1/relay/{relay_id}/stats
Get relay statistics and recent logs.
ANYhttps://www.mahmoudalhabash.com/webhook/{relay_id}
Ingestion endpoint — send your webhooks here. Supports any HTTP method.
Create Relay Parameters
Response Fields
relay_id Unique relay identifier (e.g. rel_abc123)ingestion_url URL to send webhooks todestinations Array of destination URLstotal_received Total webhooks receivedtotal_forwarded Total successful forwardsrecent_logs Last 10 webhook events with delivery resultsCode Examples
cURL — Create Relay
curl -X POST https://www.mahmoudalhabash.com/api/v1/relay/create \
-H "Content-Type: application/json" \
-d '{
"name": "Stripe Payments",
"source": "stripe",
"destinations": [
"https://myapp.com/webhook",
"https://backup.com/hook"
]
}'
Response 200JSON
{
"status": "success",
"relay_id": "rel_abc123xyz",
"name": "Stripe Payments",
"ingestion_url": "https://www.mahmoudalhabash.com/webhook/rel_abc123xyz",
"destinations": [
"https://myapp.com/webhook",
"https://backup.com/hook"
],
"active": true
}
Error Codes
422 Validation failed — at least one valid destination URL required
404 Relay not found or inactive
500 Internal server error
Rate Limits
Unlimited — Free during beta
No API key required. Max 10 destinations per relay. Webhook payloads are stored for 30 days. Forwarding timeout is 10 seconds per destination.