> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Delivery, retries and replay

## The guarantees

| Property          | What EVVA does                                                                                                                                                                   | What you do                                                                                                          |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| **At least once** | An event can arrive more than once — after a timeout, a retry or a replay. There is no exactly-once delivery.                                                                    | Deduplicate on `webhook-id` (= `eventId`, the same id the feed and realtime carry).                                  |
| **Order**         | Not guaranteed. Deliveries run concurrently, and retries and replays arrive later. `occurredAt` is informational, not the delivery order.                                        | Where strict order matters, read the [event feed](/event-feed) from your own checkpoint: its order is deterministic. |
| **Access**        | Your application's access to the creator and the event type is checked again before **every** attempt, retries and replays included. An event you may no longer see is not sent. | Nothing — a suppressed event is simply never delivered.                                                              |
| **Minimal data**  | `data` carries references, never message text or amounts.                                                                                                                        | Read details through the API when you need them.                                                                     |

## Retries

```mermaid
flowchart TD
    A[Event recorded] --> B{Access still allowed?}
    B -- no --> S[Suppressed: never sent]
    B -- yes --> C[POST to your endpoint]
    C -- 2xx --> D[Delivered]
    C -- "429, 5xx, timeout,<br />connection failure" --> R{Attempts left<br />within 24 hours?}
    C -- "410 or another 4xx" --> F[Dead-letter list]
    R -- yes --> W["Wait: backoff with full jitter or your Retry-After,<br />then check access and POST again"]
    R -- no --> F
    F -- agency replays --> P["A fresh cycle:<br />access checked, POST again"]
```

| Setting            | Value                                                                                                              |
| ------------------ | ------------------------------------------------------------------------------------------------------------------ |
| Attempts           | Up to **12** per cycle                                                                                             |
| Window             | **24 hours** per cycle                                                                                             |
| Backoff            | Exponential with full jitter: a random wait up to a ceiling that starts at 1 minute and doubles, capped at 6 hours |
| Your `Retry-After` | Honoured on `429` and `503`, up to 1 hour                                                                          |
| Retried            | `429`, any `5xx`, timeouts (connect 3 s, response 10 s) and connection failures                                    |
| Not retried        | `410` and any other `4xx` — the event goes straight to the dead-letter list                                        |

> **Note**
>
> Every attempt, retries and replays included, counts against your endpoint's, your application's and your agency's
> delivery rates. Adding endpoints or applications never raises the agency's total.

## The dead-letter list and replay

An event whose retries are spent, or that your endpoint refused with a `4xx`, is kept as **failed**. Nothing is lost:

* The agency can **replay** a delivery from the endpoint's delivery log in the Partner Hub (**Integrations →
  Webhooks**), or replay the dead-letter list in bulk. Replays are rate-limited per agency and spread out over time.
* A replay starts a fresh retry cycle, keeps the same `webhook-id`, and checks access again at send time.
* The [event feed](/event-feed) keeps every event for 7 days, so your application can also catch up on its own.

## When your endpoint is down

EVVA stops hammering a failing endpoint: failures open a circuit breaker, and the endpoint moves through stages.

| After           | Stage       | What happens                                                                               |
| --------------- | ----------- | ------------------------------------------------------------------------------------------ |
| 6 hours failing | `WARNING`   | The agency is notified in the Partner Hub.                                                 |
| 24 hours        | `CRITICAL`  | Cycles that ran out go to the dead-letter list.                                            |
| 72 hours        | `DISABLED`  | The endpoint is disabled. The agency resumes it once it works again.                       |
| Back up         | `RECOVERED` | EVVA probes the endpoint, then ramps delivery up slowly — never the whole backlog at once. |

Your application is told too. Each stage, and the recovery, produces the event `webhook.endpoint_unreachable` on your
[event feed](/event-feed), your [realtime channel](/realtime) and any other endpoint subscribed to it. It names no
creator (`creatorId` is `null`):

**`webhook.endpoint_unreachable (data)`**

```json title="webhook.endpoint_unreachable (data)"
{
  "endpointId": "whe_EXAMPLE000000000000000000",
  "stage": "CRITICAL",
  "failingSince": "2026-12-01T08:00:00.000Z",
  "hoursUnreachable": 24,
  "disablesAfterHours": 72
}
```

While an endpoint cannot take more, EVVA keeps its recorded events waiting for up to 7 days rather than dropping them. Events
that expire before they could be sent are counted on the endpoint's health in the Partner Hub.

## Answer fast, process later

#### My handler is slow

Acknowledge with `2xx` as soon as the signature checks out and the event is safely queued, then process it in the
background. A response slower than 10 seconds counts as a failure and is retried.

#### I received the same event twice

Expected: delivery is at least once. Deduplicate on `webhook-id` with a durable store shared by all your instances.

#### An event arrived out of order

Expected: webhooks guarantee no order. Where order matters, read the [event feed](/event-feed) from your own
checkpoint, or read the creator's current state through the API. Do not order by `occurredAt` alone: two events can
share an instant.

#### I answered 400 by mistake

A `4xx` is final for that event. Ask the agency to replay it from the delivery log, or read it from the event feed.

## Next steps

#### [Verify signatures](/webhooks/signatures)

The headers and the signing scheme.

#### [Event feed](/event-feed)

Catch up from a cursor after downtime.

#### [Event catalogue](/webhooks/events)

Every event type and its data.

#### [Rate limits](/authentication/rate-limits)

How the API meters your application.