<!-- ZenPays documentation · https://docs.zenpayz.com/docs/reference/objects/webhook-delivery-log -->

# The WebhookDeliveryLog object

Record of a webhook delivery attempt. Use delivery logs to debug webhook issues and verify that notifications are being received correctly.

## Fields

<ParamTable
  label="Field"
  rows={[
    { name: "id", type: "string", required: true, desc: "Unique identifier for the delivery attempt" },
    { name: "webhookId", type: "string", required: true, desc: "ID of the webhook that was triggered" },
    { name: "eventType", type: "string", required: true, desc: "Type of event that triggered the webhook" },
    { name: "payload", type: "Record<string, unknown>", required: true, desc: "Payload that was sent to the webhook URL" },
    { name: "statusCode", type: "number", required: false, desc: "HTTP status code received from the webhook URL" },
    { name: "response", type: "string", required: false, desc: "Response body received from the webhook URL" },
    { name: "attempts", type: "number", required: true, desc: "Number of delivery attempts made" },
    { name: "deliveredAt", type: "string", required: false, desc: "ISO 8601 timestamp when the webhook was successfully delivered" },
    { name: "createdAt", type: "string", required: true, desc: "ISO 8601 timestamp when the delivery was initiated" },
  ]}
/>

## Example

```json
{
  "id": "obj_1a2b3c",
  "webhookId": "webhook_1a2b3c",
  "eventType": "string",
  "payload": {},
  "statusCode": 1,
  "response": "string",
  "attempts": 1,
  "deliveredAt": "2026-01-15T09:30:00Z",
  "createdAt": "2026-01-15T09:30:00Z"
}
```
