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.
Responses
-
The redelivery has been accepted and queued.
-
Bad Request
-
Unauthorized
-
Forbidden
-
Hook or log entry not found, or the log entry does not belong to the specified hook.
-
A delivery or redelivery for the same
deliveryIdis already queued or in progress. -
The hook is disabled, the log entry is not a permanently failed webhook delivery, or its stored request payload cannot be redelivered.
-
The waiting delivery queue cap for this hook or tenant has been reached.
curl \
--request POST 'https://[tenant_id].logto.app/api/hooks/{id}/recent-logs/{logId}/redeliver' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"logId": "string"
}