Webhooks

Retries

When and how many times we retry a failed webhook, and how to resend it manually.

Schedule

If your endpoint doesn't answer 2xx within 10 seconds, we retry with this delay:

AttemptWhen
1When the event happens.
21 minute after attempt 1.
35 minutes later.
430 minutes later.
52 hours later.
624 hours later.

After the sixth attempt, the delivery is marked FAILED and isn't retried automatically.

Retry manually

  • From the dashboard's delivery log you can retry a failed delivery.
  • You can also resend a delivery that already succeeded.
  • It arrives with TuCapi-Attempt incremented, a new signature and the same event id.

The TuCapi-Attempt header

TuCapi-Attempt tells you which attempt this is: 1, 2, …

Each attempt is signed again, so the signature is always within the 5-minute window, however late the retry is.

Note

Because of retries, two events for the same order can arrive in any order. Use createdAt or check the current state through the API.