---
title: "Replay | Docs | WMS by R&D Copilot"
description: "Send a parked event again once your endpoint is ready to take it."
canonical: "https://warehouse.rdcopilot.com/docs/events/replay/"
language: en
updated: 2026-11-22
---

# Replay

Send a parked event again once your endpoint is ready to take it.

An event is parked after its last failed attempt ([Delivery and retries](https://warehouse.rdcopilot.com/docs/events/delivery-and-retries/)). [Replay an event](https://warehouse.rdcopilot.com/docs/api-reference/events/#replay-event) sends a parked event again.

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/events/7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21/replay" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "e0316720-65f8-4a68-85fb-7ce0c57cf0e8"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/events/7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21/replay`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "e0316720-65f8-4a68-85fb-7ce0c57cf0e8"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/events/7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21/replay',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'e0316720-65f8-4a68-85fb-7ce0c57cf0e8',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "e0316720-65f8-4a68-85fb-7ce0c57cf0e8"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/events/7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21/replay');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/events/7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21/replay");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "e0316720-65f8-4a68-85fb-7ce0c57cf0e8"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "e0316720-65f8-4a68-85fb-7ce0c57cf0e8",
  "status": "accepted",
  "aggregateRevision": 1
}
```

## What to expect

-   The replayed event is the same event, with the same `id`. If you handled it, skip it.
-   A replay starts a new series of delivery attempts.
-   Replay in the order of `aggregateRevision` for one record, so the state you hold ends up current.

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