---
title: "Retry until the receiver accepts · Agent Wranglers"
url: https://agentwranglers.se/playbook/api-design/webhooks-and-events/webhook-retries
updated: 2026-10-20
licence: "All rights reserved"
---

# Retry until the receiver accepts

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [Webhooks and events](https://agentwranglers.se/playbook/api-design/webhooks-and-events)
- Rule: Treat any answer other than 2xx as a failure, and retry with growing gaps for a documented time.
- How: Wait at most 15 seconds for each answer, and don't follow redirects. Retry for at least 24 hours, with backoff and jitter. Then mark the endpoint as failing and tell its owner. Let receivers replay missed events from an events list.
- Check: Point a test webhook at an endpoint that answers 500. The sender retries with growing gaps, and the event can be fetched afterwards.

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers api design playbook: https://agentwranglers.se/playbook/api-design/webhooks-and-events/webhook-retries`.

- Previous: [Sign every webhook](https://agentwranglers.se/playbook/api-design/webhooks-and-events/signed-webhooks)
- Next: [Make receivers idempotent](https://agentwranglers.se/playbook/api-design/webhooks-and-events/idempotent-receivers)
- [Webhooks and events](https://agentwranglers.se/playbook/api-design/webhooks-and-events)
