Webhook Delivery
whd_A WebhookDelivery is one Event sent to one WebhookEndpoint. It records the request body and every attempt, with its response. Officely retries a failed delivery for about 3 days. You can read a WebhookDelivery and resend it once it has finished.
Fields
#fieldswhd_).accountAccountIdacc_).attemptsarray of { attempted_at, duration_ms, error, manual, response_body, response_status, signature, succeeded }created_atInstanteventEventIdevt_). Also sent as the webhook-id header.event_namestringbooking.created.objectwebhook_deliverywebhook_delivery.payloadEventstatusstringpendingsucceededfailedpending: a request is due or under way. succeeded: the last request got a 2xx response. failed: the last request failed and no more are due.updated_atInstantwebhook_endpointWebhookEndpointIdwhe_).{
"account": "acc_01me0qwv",
"attempts": [
{
"attempted_at": "2026-08-11T09:30:00Z",
"duration_ms": 1,
"succeeded": true
}
],
"created_at": "2026-08-11T09:30:00Z",
"event": "evt_00cfuqco",
"event_name": "booking.created",
"id": "whd_019qujx9",
"object": "webhook_delivery",
"payload": {
"actor": {
"id": "per_00x29c5c",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"data": {
"booking": "bk_014f2b9c",
"status": "cancelled"
},
"id": "evt_0185znjy",
"name": "account.archived",
"object": "event",
"sequence": 1
},
"status": "pending",
"updated_at": "2026-08-11T09:30:00Z",
"webhook_endpoint": "whe_00br5nov"
}Queries
#queriesRead methods. Kept apart from operations because only operations change state.
/webhook-deliveries/:webhook_delivery200Retrieve a WebhookDelivery with its body and every request sent so far.
webhook_endpoint.readwhd_).curl https://api.officely.app/webhook-deliveries/whd_0109v0yd \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-deliveries200List WebhookDeliveries, newest first.
webhook_endpoint.readnext_after.evt_).limitintegerOptionalstatusstringpendingsucceededfailedOptionalwhe_).data array is a result rather than a refusal.curl https://api.officely.app/webhook-deliveries \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"Refusal reasons
#refusal-reasonsEvery refusal reason defined by webhook_delivery. The reason is the machine-readable key a caller receives.
| Code | Category | Returned when |
|---|---|---|
webhook_delivery_not_found | not_found | No WebhookDelivery matches webhook_delivery. |
{
"error": {
"category": "not_found",
"code": "webhook_delivery_not_found",
"message": "No WebhookDelivery matches webhook_delivery.",
"retryable": false
}
}The code is the machine-readable refusal reason. Every code in this table is a permanent URL you can link from error toasts and logs.
REST examples use https://api.officely.app. See Officely-Version for endpoint versioning.

