# Retries, duplicates and limits

- Section: Webhooks (TTF API reference)
- Source: https://ttf.bot/developers/docs/#webhook-retries
- The whole reference as one text: https://ttf.bot/developers/docs/llms-full.txt

Answer fast with a 2xx. If you do not, TTF tries again later.

## Answer quickly

You have 10 seconds in total. Answer `200` right away and do the work after (put it in a queue). Redirects are not followed: a 3xx counts as a failure. The first 1 KB of your answer shows in the delivery log of the dashboard.

## Retries

No 2xx (an error, a timeout, a connection problem)? We try again after 1 min, 5 min, 30 min, 2 h and 12 h: at most 6 attempts over about 15 hours. Then the delivery is **dead** (visible in the log). A dead delivery is not sent again: when you need what it carried, read it from the API (for example [Wallet activity](https://ttf.bot/developers/docs/md/wallet-activity.md) or [Signals](https://ttf.bot/developers/docs/md/signals.md)).

## Duplicates

Delivery is **at least once**: the same delivery can arrive twice. It always has the same `X-TTF-Delivery` header and the same body: keep the ids you handled and skip repeats.

## Order

Deliveries are not ordered (a retry can arrive after a newer event): sort by `created_ms` or `event.ts`.

## Automatic pause

An endpoint that keeps failing for over an hour (20 failures in a row, or almost every attempt failing) is turned off: the dashboard shows it as **Turned off after failures** and its rules stop. An answer slower than 8 seconds counts as a failure there. Fix your server, send a test alert, then press **Resume** in the dashboard.

## Plan limits

Deliveries per month, endpoints and rules depend on your plan. Over a limit, the extra rules pause (nothing is deleted) and come back by themselves after an upgrade.
