> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Replay specific webhook events by id (operator tooling).

> Replay result (or preview when dryRun)

### Path parameters

**tenant\_id** `string` *required*

Tenant identifier

### Request body

`object`

**webhookIds** `string (uuid)[]` *required*

Webhook ids to replay. Duplicates are ignored.

**dryRun** `boolean`

Preview matching events without queueing replay jobs (default false)

### Response

`object`

**requested** `integer` *required*

**deduplicated** `integer` *required*

**matched** `integer` *required*

**dryRun** `boolean` *required*

**queued** `integer` *required*

**skipped** `integer` *required*

**webhookIds** `string (uuid)[]` *required*

**errors** `object[]`

Omitted when empty

**errors**

**webhookId** `string (uuid)` *required*

**message** `string` *required*

### Status codes

| Code | Meaning |
| - | - |
| `202` | Replay result (or preview when `dryRun`) |
| `401` | Unauthorized |
| `404` | Tenant not found |
| `422` | Invalid replay request |

```bash cURL theme={null}
curl --request POST \
  --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/webhook-events/replay-by-id' \
  --header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "webhookIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  "dryRun": false
}'
```

```json 202 theme={null}
{
  "requested": 1,
  "deduplicated": 1,
  "matched": 1,
  "dryRun": false,
  "queued": 1,
  "skipped": 1,
  "webhookIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  "errors": [
    {
      "webhookId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "message": "Two-person tent, green — replacement for damaged pole set."
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.