Skip to Content
Webhooks

Get a webhook delivery

Permissionwebhooks:readAuthentication
GET
/webhook-deliveries/{id}

Returns delivery state and safe diagnostics. The exact request body is never returned; use request_body_sha256 to correlate the immutable request snapshot. Retry-After is present while status is pending or running and absent after a terminal result.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

Delivery detail.

application/json
  1. response
id*string
Formatuuid
webhook_config_id*|
Formatuuid
webhook_name*string|null
call_id*|
Formatuuid
event*WebhookEvent

call.dncr_blocked is workspace-wide and fires only for a confirmed registry match before dialing; DNCR lookup failures do not emit it.

Value in"call.completed""call.dncr_blocked""campaign.started""campaign.paused""campaign.resumed""campaign.completed""campaign.stopped""inference.transcription.completed""inference.transcription.failed""inference.transcription.cancelled"
is_test*boolean

True for explicit test deliveries, which have call_id=null and payload call=null.

replayed_from_id*|
Formatuuid
replay_mode*|null
attempt*integer
Range0 <= value <= 10
max_attempts*integer
Range1 <= value <= 10
status*WebhookDeliveryStatus

pending is due now or scheduled for retry; running has an active worker lease; success is terminal; failed_permanent is non-retryable; exhausted means every configured attempt was used.

Value in"pending""running""success""failed_permanent""exhausted"
scheduled_at*string
Formatdate-time
next_retry_at*|
Formatdate-time
started_at*|
Formatdate-time
completed_at*|
Formatdate-time
response_status*|
Range100 <= value <= 599
error_code*|

Stable machine token such as http_503, timeout, network_error, or unsafe_webhook_url.

error_message*|

Safe human-readable explanation corresponding to error_code.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
request_url*|

Immutable destination snapshotted on the first attempt. Null before the first attempt.

Formaturi
request_body_sha256*|

SHA-256 of the exact canonical UTF-8 request body. The body itself is never exposed.

Match^[0-9a-f]{64}$
response_body_preview*|

Sanitized preview capped at 2048 UTF-8 bytes; null when no HTTP response was received.

Lengthlength <= 2048
Example Request
curl -X GET 'https://api.kejue.co/v1/webhook-deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "webhook_config_id": "df156cd4-8746-4feb-9a60-29437338c6cd",  "webhook_name": "string",  "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e",  "event": "call.completed",  "is_test": true,  "replayed_from_id": "ce0acba0-683c-4663-90cb-4a127629e174",  "replay_mode": "snapshot",  "attempt": 0,  "max_attempts": 1,  "status": "pending",  "scheduled_at": "2019-08-24T14:15:22Z",  "next_retry_at": "2019-08-24T14:15:22Z",  "started_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "response_status": 100,  "error_code": "string",  "error_message": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "request_url": "http://example.com",  "request_body_sha256": "string",  "response_body_preview": "string"}