Skip to content

Get a webhook delivery

Returns the event payload and each delivery attempt, including its time, HTTP status and response.


GET/v1/webhook-deliveries/{id}
Requires webhooks:read permission.
idstringrequired

The id of the delivery (wdl_…).

Example: wdl_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with wdl_.

dataobjectrequired

The returned object, or an array of objects for a list.

deliveryobjectrequired

Delivery status for this event at one endpoint.

idstringrequired

The id of the delivery (wdl_…).

Example: wdl_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with wdl_.

event_idstringrequired

The event that was sent (wev_…).

Example: wev_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with wev_.

event_typestringrequired

Event name in the payload, such as payment.succeeded; use it to decide which event handler should run.

Example: payment.succeeded

Possible values: payment.created, payment.succeeded, payment.failed, payment.expired, payment.settled, payment.anomaly, payment.unsettled, payment.reversed, payment.reversal_cancelled, payment.attempt.created, payment.attempt.failed, payment_link.created, payment_link.cancelled, payment_link.expired, payment_link.completed, payment_link.limit_reached, invoice.issued, invoice.paid, invoice.voided, project.created, project.updated, project.activated, project.deactivated, project.payment_methods_changed, project.live_requested, project.live_approved, project.live_revision_requested, api_key.created, api_key.rotated, api_key.revoked, webhook_endpoint.created, webhook_endpoint.updated, webhook_endpoint.deleted, webhook_endpoint.secret_rotated, webhook_endpoint.disabled, webhook.test

payment_idstring | nullrequired

Related payment; null when the event is not about a payment.

Example: pay_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with pay_.

simulatedbooleanrequired

true for a test event or a sandbox scenario.

endpoint_idstringrequired

The endpoint it was sent to (whk_…).

Example: whk_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with whk_.

statusstringrequired

pending is queued, retrying will be sent again, succeeded means the endpoint returned a 2xx response, and failed means no more retries are scheduled.

Example: succeeded

Possible values: pending, retrying, succeeded, failed

attempt_countintegerrequired

Number of delivery attempts made so far, including the latest attempt.

Example: 1

next_attempt_atstring | nullrequired

Scheduled time of the next delivery retry; null when no retry is scheduled.

Example: 2026-10-26T03:04:05.000Z

Format: date-time

last_status_codeinteger | nullrequired

The HTTP status your server answered on the last try; null when it did not answer.

Example: 200

last_error_codestring | nullrequired

A short code for why the last try failed; null when it did not.

Example: string

delivered_atstring | nullrequired

When the endpoint first accepted the event; null until a delivery succeeds.

Example: 2026-10-26T03:04:05.000Z

Format: date-time

created_atstringrequired

When this object was created (RFC 3339, UTC). Use it to sort objects by creation time.

Example: 2026-10-26T03:04:05.000Z

Format: date-time

payloadobjectrequired

What was sent: the event, as one JSON object.

Values: object

attemptsarray of objectrequired

Each HTTP delivery attempt to this endpoint, ordered from oldest to newest.

attempt_nointegerrequired

1 for the first try.

Example: 1

attempted_atstringrequired

When the try was made (RFC 3339, UTC).

Example: 2026-10-26T03:04:05.000Z

Format: date-time

status_codeinteger | nullrequired

The HTTP status your server answered; null when it did not.

Example: 200

duration_msintegerrequired

How long the call took, in milliseconds.

Example: 143

response_snippetstring | nullrequired

The start of what your server answered; null when there was no answer.

Example: string

error_codestring | nullrequired

A short code for why the try failed; null when it worked.

Example: string

metaobjectrequired

Request details such as its id and pagination cursor.

request_idstringrequired

The id of this request. Quote it when you ask support about it.

Example: req_Hy3k9QzT2LmN8vXa

A failed request answers with the common error shape; see Errors.

curl "https://api.baiyar.com/v1/webhook-deliveries/{id}" \
-H "Authorization: Bearer $BAIYAR_KEY"