Skip to content

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).

Path ParametersExpand Collapse
event_id: string
ReturnsExpand Collapse
data: array of object { id, created_at, delivered_at, 6 more }
id: string

Prefixed unique identifier for this delivery (e.g., wdlv_...).

created_at: string

When this delivery record was created, in UTC.

formatdate-time
delivered_at: string

When the delivery was successfully received, in UTC.

formatdate-time
failed_at: string

When the delivery was marked as permanently failed, in UTC.

formatdate-time
failure_reason: string

Reason for failure, if applicable.

started_at: string

When the delivery attempt started, in UTC.

formatdate-time
status: string

Current delivery status: Pending, In Progress, Delivered, or Failed.

subscription_id: string

The webhook subscription this delivery was sent to.

webhook_event_id: string

The webhook event this delivery belongs to.

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"
    }
  ]
}