# Retry a webhook delivery

Source: https://docs.vlayers.ai/reference/webhooks/redeliver-webhook

`POST /v1/webhooks/deliveries/{id}/redeliver` · scope `webhooks:manage`

Queues a delivery again, for example after you fixed your endpoint. The event keeps its `id`, so your receiver can still deduplicate it.

Requires an API key with the `webhooks:manage` scope.

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | string | yes | The delivery id. Example: `"0192f5b3-4d5e-7f6a-9b7c-8d9e0f1a2b34"` |

## Request

cURL:

```bash
curl -X POST "https://api.vlayers.ai/v1/webhooks/deliveries/$DELIVERY_ID/redeliver" \
  -H "Authorization: Bearer $VOICELAYER_API_KEY"
```

TypeScript:

```ts
import { createVoiceLayerClient, redeliverWebhook } from '@voicelayer/api';

const client = createVoiceLayerClient({ apiKey: process.env.VOICELAYER_API_KEY!, throwOnError: true });

const { data } = await redeliverWebhook({
  client,
  path: {
    id: process.env.DELIVERY_ID!
  }
});
console.log(data.delivery.status);
```

Python:

```python
import os
import voicelayer

config = voicelayer.Configuration(access_token=os.environ["VOICELAYER_API_KEY"])
with voicelayer.ApiClient(config) as client:
    api = voicelayer.WebhooksApi(client)
    result = api.redeliver_webhook(
        id=os.environ["DELIVERY_ID"],
    )
    print(result.delivery.status)
```

## Response `200`

```json
{
  "delivery": {
    "id": "0192f5b3-4d5e-7f6a-9b7c-8d9e0f1a2b34",
    "subscriptionId": "0192f5a7-3c4d-7e5f-8a6b-7c8d9e0f1a23",
    "projectId": "0192f5a1-5e6f-7a7b-8c8d-9e0f1a2b3c45",
    "eventType": "message.received",
    "eventId": "0192f5b1-0a1b-7c2d-8e3f-4a5b6c7d8e90",
    "payload": {
      "id": "0192f5b1-0a1b-7c2d-8e3f-4a5b6c7d8e90",
      "type": "message.received",
      "createdAt": "2026-10-20T15:04:05.000Z",
      "data": {}
    },
    "status": "pending",
    "attempts": 1,
    "maxAttempts": 5,
    "lastStatusCode": 200,
    "lastError": null,
    "nextAttemptAt": "2026-10-20T15:04:05.000Z",
    "deliveredAt": null,
    "createdAt": "2026-10-20T15:04:05.000Z",
    "updatedAt": "2026-10-20T15:04:05.000Z",
    "attemptLog": [
      {
        "attempt": 1,
        "at": "2026-10-20T15:04:05.000Z",
        "statusCode": 200,
        "errorCode": null,
        "latencyMs": 182
      }
    ]
  }
}
```
