LoguDocs
Open Logu

Webhooks · listWebhookDeliveries

Delivery log

GET /v1/webhooks/{id}/deliveries

The endpoint's webhook deliveries of the last 30 days, newest first: type, status, attempts, the last status code and when the next retry goes out.

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
limitqueryintegeroptionalHow many to return (1–100). · e.g. 50
beforequerystringoptionalThe last delivery id of the previous page (newest first). · 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 "https://api.logu.dev/v1/webhooks/whk_01K7DC5E7G9J1L3N5Q7S9U1W3Y/deliveries" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

Webhook deliveries, newest first.

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

Errors#

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

StatusCodeMeaning
400bad_requestThe request is malformed or a field is invalid (see issues).
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.
500internal_errorSomething went wrong on Logu's side.