> For the complete documentation index, see [llms.txt](https://openapi.logto.io/dev/llms.txt)

# Redeliver a failed webhook log

> POST /api/hooks/{id}/recent-logs/{logId}/redeliver
> 
> Re-enqueue a permanently failed webhook delivery log entry for the specified hook. Reconstructs the request body from the stored log payload while keeping the original `deliveryId`, signs it with the hook's current signing key, and sends it to the hook's current endpoint. Because the request body is read from the sanitized audit log, fields redacted when the log was recorded (such as masked secrets or passwords replaced with `******` and omitted `script` keys) are sent in their sanitized form. Delivery results are written to a new log entry linked to the original via `redeliveredFrom`.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters

### Path parameters

- **id** (string)
  The unique identifier of the hook.

- **logId** (string)
  The unique identifier of the log.




## Responses
### 202
The redelivery has been accepted and queued.

#### Body: application/json (object)
- **logId** (string)
  The ID of the log entry that will record this redelivery once its first attempt finishes.


### 400
Bad Request

### 401
Unauthorized

### 403
Forbidden

### 404
Hook or log entry not found, or the log entry does not belong to the specified hook.

### 409
A delivery or redelivery for the same `deliveryId` is already queued or in progress.

### 422
The hook is disabled, the log entry is not a permanently failed webhook delivery, or its stored request payload cannot be redelivered.

### 429
The waiting delivery queue cap for this hook or tenant has been reached.


[Powered by Bump.sh](https://bump.sh)
