Skip to main content

List Webhook Deliveries

Get delivery history for a webhook, useful for debugging.

GET /api/v1/webhooks/:id/deliveries

Required Scope: webhooks:read

Request

Path Parameters

ParameterTypeDescription
idstringWebhook ID

Query Parameters

ParameterTypeDefaultDescription
pagenumber1Page number
per_pagenumber20Items per page (max 100)

Example

curl "https://api.flowmaestro.io/api/v1/webhooks/wh_abc123/deliveries" \
-H "X-API-Key: fm_live_your_api_key"

Response

{
"data": [
{
"id": "delivery_xyz789",
"webhook_id": "wh_abc123",
"event_type": "execution.completed",
"status": "success",
"attempts": 1,
"response_status": 200,
"response_time_ms": 145,
"created_at": "2024-01-15T10:30:00.000Z",
"last_attempt_at": "2024-01-15T10:30:00.000Z"
},
{
"id": "delivery_abc456",
"webhook_id": "wh_abc123",
"event_type": "execution.failed",
"status": "failed",
"attempts": 3,
"response_status": 500,
"error_message": "Internal Server Error",
"created_at": "2024-01-15T09:00:00.000Z",
"last_attempt_at": "2024-01-15T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"per_page": 20,
"total_count": 50,
"total_pages": 3,
"has_next": true,
"has_prev": false
},
"meta": {
"request_id": "...",
"timestamp": "..."
}
}

Delivery Status

StatusDescription
pendingQueued for delivery
successDelivered successfully
failedAll retry attempts exhausted
retryingFailed, will retry

Errors

StatusCodeDescription
404resource_not_foundWebhook not found