> ## Documentation Index
> Fetch the complete documentation index at: https://docs.danubeai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Webhook Deliveries

> Get recent delivery history for a webhook

## Overview

Returns the most recent delivery attempts for a webhook, sorted by newest first. Use this to debug delivery issues or verify that events are being received.

**Auth:** Requires JWT token (`Authorization: Bearer <token>`). Only the webhook owner can view deliveries.

## Path Parameters

<ParamField path="webhook_id" type="string" required>
  The webhook UUID
</ParamField>

## Query Parameters

<ParamField query="limit" type="integer" default="20">
  Maximum number of deliveries to return
</ParamField>

## Response

Returns an array of delivery objects.

<ResponseField name="id" type="string">
  Delivery UUID
</ResponseField>

<ResponseField name="webhook_id" type="string">
  The parent webhook UUID
</ResponseField>

<ResponseField name="event_type" type="string">
  The event type (e.g. `tool.execution.completed`)
</ResponseField>

<ResponseField name="payload" type="object">
  The full webhook payload that was sent
</ResponseField>

<ResponseField name="status" type="string">
  Delivery status: `pending`, `success`, or `failed`
</ResponseField>

<ResponseField name="response_status" type="integer">
  HTTP response code from your endpoint (e.g. `200`, `500`)
</ResponseField>

<ResponseField name="response_body" type="string">
  Response body from your endpoint (truncated to 2000 chars)
</ResponseField>

<ResponseField name="attempts" type="integer">
  Number of delivery attempts made (max 3)
</ResponseField>

<ResponseField name="delivered_at" type="string">
  ISO 8601 timestamp of successful delivery
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp when the delivery was created
</ResponseField>

## Example

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.danubeai.com/v1/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479/deliveries?limit=5" \
    -H "Authorization: Bearer YOUR_JWT_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  [
    {
      "id": "d1a2b3c4-5678-90ab-cdef-1234567890ab",
      "webhook_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "event_type": "tool.execution.completed",
      "payload": {
        "event": "tool.execution.completed",
        "timestamp": "2026-02-24T15:30:45.123456Z",
        "data": {
          "tool_id": "abc-123",
          "tool_name": "Gmail - Send Email",
          "status": "success",
          "execution_time": 1.234,
          "error": null
        }
      },
      "status": "success",
      "response_status": 200,
      "response_body": "OK",
      "attempts": 1,
      "delivered_at": "2026-02-24T15:30:45.500000Z",
      "created_at": "2026-02-24T15:30:45.123456Z"
    }
  ]
  ```
</ResponseExample>
