# Send a failed webhook event again

> Send a failed webhook event again: CustomDomain™ API reference in the webhooks group. Covers request parameters, the request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/webhooks/replayWebhookDelivery

## `POST https://api.customdomain.ai/v1/webhook-deliveries/{id}/replay`

Queues the event of a failed delivery again for the same endpoint. A failed event can be sent again for up to 30 days; one that was delivered, is still being tried, is past that time, or whose endpoint was deleted answers 409. An id that is not the caller's answers 404. A delegated agent token needs `app:write`.

### Authentication

`widgetJWT`, `apiKey`, `agentToken`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |

### Responses

| Status | Description |
| --- | --- |
| `202` | Queued |
| `401` | Error envelope: {code, title, details, request_id}. |
| `403` | Error envelope: {code, title, details, request_id}. |
| `404` | Error envelope: {code, title, details, request_id}. |
| `409` | Error envelope: {code, title, details, request_id}. |
| `503` | Error envelope: {code, title, details, request_id}. |

### `202` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `event_id` | string | yes |  |
| `endpoint_id` | string | yes |  |
| `status` | `queued` | yes |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
