List webhook event deliveries
GET/v1/webhook-events/{event_id}/deliveries
Retrieves all delivery attempts for a webhook event. Returns up to 100 deliveries. Each delivery includes a computed status field (Pending, In Progress, Delivered, or Failed).
List webhook event deliveries
curl https://api.vitablehealth.com/v1/webhook-events/$EVENT_ID/deliveries \
-H "Authorization: Bearer $VITABLE_CONNECT_API_KEY"{
"data": [
{
"id": "wdlv_abc123def456",
"webhook_event_id": "wevt_xyz789abc012",
"subscription_id": "wsub_sub123def456",
"status": "Delivered",
"started_at": "2024-06-15T14:30:01Z",
"delivered_at": "2024-06-15T14:30:02Z",
"failed_at": null,
"failure_reason": "",
"created_at": "2024-06-15T14:30:00Z"
},
{
"id": "wdlv_def456ghi789",
"webhook_event_id": "wevt_xyz789abc012",
"subscription_id": "wsub_sub456ghi789",
"status": "Failed",
"started_at": "2024-06-15T14:30:01Z",
"delivered_at": null,
"failed_at": "2024-06-15T14:30:05Z",
"failure_reason": "max_attempts",
"created_at": "2024-06-15T14:30:00Z"
}
]
}Returns Examples
{
"data": [
{
"id": "wdlv_abc123def456",
"webhook_event_id": "wevt_xyz789abc012",
"subscription_id": "wsub_sub123def456",
"status": "Delivered",
"started_at": "2024-06-15T14:30:01Z",
"delivered_at": "2024-06-15T14:30:02Z",
"failed_at": null,
"failure_reason": "",
"created_at": "2024-06-15T14:30:00Z"
},
{
"id": "wdlv_def456ghi789",
"webhook_event_id": "wevt_xyz789abc012",
"subscription_id": "wsub_sub456ghi789",
"status": "Failed",
"started_at": "2024-06-15T14:30:01Z",
"delivered_at": null,
"failed_at": "2024-06-15T14:30:05Z",
"failure_reason": "max_attempts",
"created_at": "2024-06-15T14:30:00Z"
}
]
}