Automatic endpoint protection
Dugble tracks consecutive deliveries that exhaust the complete retry schedule. A successful delivery resets the counter. When the counter reaches the worker’s auto-disable threshold, Dugble:- Marks the endpoint disabled.
- Records
failure_thresholdas the disable reason. - Stops claiming pending or retrying deliveries for that endpoint.
- Leaves delivery and response history available for diagnosis.
WEBHOOK_DELIVERY_AUTO_DISABLE_AFTER to a positive integer for the worker
deployment. This is a deployment-wide safety control, not a per-endpoint retry
limit.
Endpoint health fields
Endpoint responses include these operational fields:Disable versus delete
Disable an endpoint when you want to stop traffic temporarily while preserving its configuration and delivery history. Re-enabling it resets the failure counter and clears its disable reason.DELETE /webhook-endpoints/{endpoint_id} is different: it permanently removes
the endpoint and returns 204 No Content with no response body.
Deletion is a hard delete. Delivery rows reference their endpoint with database
cascade semantics, so deleting the endpoint also removes that endpoint’s
webhook-delivery records and their delivery-attempt history. The team-level
webhook event records remain independently stored.
Recovery runbook
- Inspect the latest failed delivery’s response status, truncated response body, and error.
- Correct DNS, TLS, signature verification, timeout, or application failures at the receiver.
- Re-enable the endpoint. Re-enabling clears its failure counter and disable reason.
- Send a
webhook.testevent and confirm a successful delivery. - Manually retry individual failed deliveries that still matter to your application.
failed state. It returns that
delivery to pending; it does not recreate deliveries that were never generated
while an endpoint was disabled.
Emergency traffic control
Disable an endpoint manually before receiver maintenance or during an incident. Manual disablement recordsmanual as the reason and prevents the worker from
claiming more deliveries for that endpoint. In-flight HTTP requests may still
finish, so receivers must continue to handle event IDs idempotently.
Verify signatures
Check receiver authentication before retrying failed deliveries.