---
title: "Delivery and retries | Docs | Payroll by R&D Copilot"
description: "An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt."
canonical: "https://payroll.rdcopilot.com/docs/events/delivery-and-retries/"
language: en
updated: 2026-11-22
---

# Delivery and retries

An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.

A delivery is done when your endpoint answers with a 2xx status. Any other answer, or no answer, is a failed attempt, and the event is sent again after a pause.

## Schedule

A delivery has 6 attempts: at once, then after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours. Your endpoint has 10 seconds to answer 2xx. After the sixth failure the event is parked.

| Attempt | Pause before it |
| --- | --- |
| `1` | None: sent at once |
| `2` | 1 minute after the first |
| `3` | 5 minutes after the second |
| `4` | 30 minutes after the third |
| `5` | 2 hours after the fourth |
| `6` | 12 hours after the fifth |

## States of a delivery

| Status | Meaning |
| --- | --- |
| delivered | Your endpoint confirmed the event. |
| retrying | An attempt failed and another one is waiting. |
| parked | The last attempt failed. The event is kept and is not sent again until you replay it. |
| replayed | A parked event was sent again on request. |

## Handling deliveries

-   Confirm the delivery first and do the work afterwards.
-   Skip an event whose `id` you already handled: a delivery can repeat.
-   Skip an event whose `aggregateRevision` is older than the state you hold: deliveries can arrive out of order.

After a parked event, fix your endpoint and use [Replay](https://payroll.rdcopilot.com/docs/events/replay/).

The full rule: [Developer guide](https://rdcopilot.com/docs/webhooks/)
