Create an Endpoint
A debug endpoint is a URL that captures all incoming HTTP requests for inspection.
From the dashboard
- Open the Webhook Inspector dashboard
- Click New Endpoint
- Enter a name (e.g., "Stripe Webhooks")
- Optionally set a custom slug (e.g.,
stripe-webhooks) - Click Create
Your endpoint URL is:
https://app.hooklistener.com/w/<slug>
From the CLI
hooklistener endpoint create "Stripe Webhooks" --slug stripe-webhooks
From the API
curl -X POST https://app.hooklistener.com/api/v1/endpoints \
-H "Authorization: Bearer hklst_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"debug_endpoint": {
"name": "Stripe Webhooks",
"slug": "stripe-webhooks"
}
}'
Endpoint properties
| Property | Description |
|---|---|
| Name | A human-readable label for the endpoint |
| Slug | The URL path segment (auto-generated if not provided) |
| Webhook URL | The full URL to send webhooks to (/w/<slug>) |
| Status | Active or paused |
Using your endpoint URL
Point any webhook provider at your endpoint URL. All HTTP methods are supported:
# POST request
curl -X POST https://app.hooklistener.com/w/stripe-webhooks \
-H "Content-Type: application/json" \
-d '{"type": "payment_intent.succeeded"}'
# GET request with query parameters
curl "https://app.hooklistener.com/w/stripe-webhooks?verify=true"
# PUT request
curl -X PUT https://app.hooklistener.com/w/stripe-webhooks \
-H "Content-Type: application/xml" \
-d '<event>updated</event>'
Requests to any sub-path are also captured:
curl -X POST https://app.hooklistener.com/w/stripe-webhooks/payments/webhook