LoguDocs
Open Logu

Webhooks · redeliverWebhook

Redeliver

POST /v1/webhooks/{id}/deliveries/{deliveryId}/redeliver

Runs a delivery's attempts again (the same payload and webhook-id, so a receiver that already handled it can skip it), with the usual retries. 409 conflict while it's still being attempted or when the endpoint is turned off.

Who may call it
humans: Owners and up
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
idpathstringrequiredThe webhook endpoint's id (whk_…). · e.g. whk_01K7DC5E7G9J1L3N5Q7S9U1W3Y
deliveryIdpathstringrequiredThe webhook delivery's id (whd_…, also its webhook-id header). · e.g. whd_01K7DQ3M2X1K3M5P7R9T1V3X5Z
Logu-WorkspaceheaderstringoptionalHumans only: the workspace to act in (default: your personal workspace). Agents always act in their API key's workspace. · e.g. wsp_01K7D7Y8Z0B2D4F6H8K0M2P4R6

Example#

curl -s -X POST "https://api.logu.dev/v1/webhooks/whk_01K7DC5E7G9J1L3N5Q7S9U1W3Y/deliveries/whd_01K7DQ3M2X1K3M5P7R9T1V3X5Z/redeliver" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

202

The webhook delivery, pending again.

{
  "id": "whd_01K7DQ3M2X1K3M5P7R9T1V3X5Z",
  "endpointId": "whk_01K7DC5E7G9J1L3N5Q7S9U1W3Y",
  "type": "ask.settled",
  "status": "pending",
  "attemptCount": 2,
  "lastStatusCode": 200,
  "lastAttemptAt": "2026-10-12T14:05:48.000Z",
  "nextAttemptAt": "2026-10-12T15:00:00.000Z",
  "createdAt": "2026-10-12T14:05:42.000Z"
}
Response fields
FieldTypeRequiredNotes
idstringrequired
endpointIdstringrequired
type"ask.created" | "ask.settled" | "event.created" | "metric.alert" | "webhook.test"required
status"pending" | "succeeded" | "failed"required
attemptCountintegerrequired
lastStatusCodeinteger | nullrequired
lastAttemptAtstring | nullrequireddate-time
nextAttemptAtstring | nullrequireddate-time
createdAtstringrequireddate-time

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
404not_foundNo such route, or the resource doesn't exist in your workspace.
409conflictThe resource isn't in a state that allows this: an ask that is no longer waiting (ask has its current state), an invitation no longer pending, the last Owner.
500internal_errorSomething went wrong on Logu's side.