curl -X GET "https://api.danubeai.com/v1/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479/deliveries?limit=5" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
[
{
"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"
}
]
Webhooks
Get Webhook Deliveries
Get recent delivery history for a webhook
GET
/
v1
/
webhooks
/
{webhook_id}
/
deliveries
curl -X GET "https://api.danubeai.com/v1/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479/deliveries?limit=5" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
[
{
"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"
}
]
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
Query Parameters
Response
Returns an array of delivery objects.Example
curl -X GET "https://api.danubeai.com/v1/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479/deliveries?limit=5" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
[
{
"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"
}
]
