---
title: "Smart Retry with Exponential Backoff"
description: "Failed deliveries retry automatically with exponential backoff; 4xx failures are classified as permanent."
url: "https://wpwebhooks.org/docs/smart-retry/"
---

[WP Webhooks](https://wpwebhooks.org/) / [Docs](https://wpwebhooks.org/docs/) / Smart Retry with Exponential Backoff

Feature since v1.1.0

# Smart Retry with Exponential Backoff

Failed deliveries retry automatically with exponential backoff; 4xx failures are classified as permanent.

5xx, 429 and transport errors (timeouts, DNS, TLS) trigger retries with exponential backoff. The wait before attempt N is `base_delay × 2^N` capped at `max_delay`, so on the defaults (5 attempts, 30s base, 1 hour cap) a failing delivery is retried after 60s, 120s, 240s and 480s and gives up about 15 minutes in. 4xx and 3xx responses are classified as `permanently_failed` immediately — bad payloads are not worth retrying. Each attempt is logged with its HTTP status and response body.

## Configurable via filters

Override max attempts per webhook via `fswa_max_attempts` and delay per attempt via `fswa_backoff_delay`. The webhook edit screen also carries per-webhook retry settings and a choice of exponential, linear, or fixed backoff strategy.

/ Related

[fswa\_max\_attempts](https://wpwebhooks.org/docs/fswa-max-attempts/)[fswa\_backoff\_delay](https://wpwebhooks.org/docs/fswa-backoff-delay/)[Per-Webhook Retry Settings](https://wpwebhooks.org/docs/per-webhook-retry/)[Per-Webhook Backoff Strategy](https://wpwebhooks.org/docs/per-webhook-backoff/)[Delivery Logs](https://wpwebhooks.org/docs/delivery-logs/)

/Ready

## Your next automation is  
one sentence away.

[Try the Live Preview](https://playground.wordpress.net/?blueprint-url=https://wpwebhooks.org/blueprint.json) [See the Plugin →](https://wpwebhooks.org/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"Smart Retry with Exponential Backoff — Feature — Webhook Actions Docs","description":"Failed deliveries retry automatically with exponential backoff; 4xx failures are classified as permanent.","url":"https://wpwebhooks.org/docs/smart-retry/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
