# Retry webhook delivery
Source: https://docs.lomi.africa/api/webhooks/WebhooksController_retryDelivery

Retry webhook delivery

***

title: "Retry webhook delivery"
description: "Retry webhook delivery"
full: true
method: post
path: /webhooks/{id}/deliveries/{deliveryId}/retry
operationId: WebhooksController\_retryDelivery
----------------------------------------------

## Overview

Retry webhook delivery

Re-sends a single failed delivery attempt for debugging after you fix your receiver.

### When to use this

Use from support tools; not a substitute for idempotent handling on your server.

### See also

[Webhook delivery logs](/api/webhooks/WebhookDeliveryLogsController_findOne)

## Authentication

Merchant routes require an API key in the `X-API-KEY` header (see [Integration overview](/api)). Use a **test** key against `https://sandbox.api.lomi.africa` and a **live** key against `https://api.lomi.africa`.

## Endpoint

`POST /webhooks/{id}/deliveries/{deliveryId}/retry`

Base URLs:

* `https://sandbox.api.lomi.africa`
* `https://api.lomi.africa`

## Request

### Path parameters

| Name         | Required | Schema | Description       |
| ------------ | -------- | ------ | ----------------- |
| `deliveryId` | Yes      | -      | Delivery log UUID |
| `id`         | Yes      | -      | Webhook UUID      |

### Query parameters

*No query parameters.*

### Request body

*No application/json body for this operation.*

## Responses

| Status | Description |
| ------ | ----------- |
| `200`  | Success     |

## Errors

Errors follow the standard JSON error format (status code and machine-readable message). Validate inputs before calling; **401** indicates a missing/invalid key, **404** a missing resource for this organization, **429** rate limiting. For safe retries on create-style calls, send an idempotency key when your flow supports it.

## Example

```bash
curl -sS -X POST "https://sandbox.api.lomi.africa/webhooks/value/deliveries/value/retry" \
  -H "X-API-KEY: $LOMI_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## OpenAPI

* **operationId**: `WebhooksController_retryDelivery`
* **Operation**: `POST /webhooks/{id}/deliveries/{deliveryId}/retry`

Full schemas and **Try it**: [API reference](/api). Machine-readable contract: repo `apps/docs/openapi.json`.
