Skip to main content
POST
/
v1
/
webhook_deliveries
/
{id}
/
redeliver
Replay a delivery
curl --request POST \
  --url https://api.callingbox.io/v1/webhook_deliveries/{id}/redeliver \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "endpoint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event_type": "call.queued",
  "url": "<string>",
  "status": "pending",
  "attempt_count": 123,
  "manual_retry_count": 123,
  "next_attempt_at": "2023-11-07T05:31:56Z",
  "last_error": "<string>",
  "last_response_status": 123,
  "delivered_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
default:sk_live_your_api_key
required

API key starting with sk_

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Delivery re-queued

id
string<uuid>

Event id. Sent in the CallingBox-Event-Id header; use it as an idempotency key.

org_id
string<uuid>
endpoint_id
string<uuid> | null

The endpoint this delivery targets. null means this is an inline delivery from the webhook_url on a call (signed with the org's default secret).

call_id
string<uuid> | null
event_type
enum<string>

Lifecycle event types CallingBox emits. Use * in enabled_events to subscribe an endpoint to every event.

Available options:
call.queued,
call.ringing,
call.answered,
call.completed,
call.failed,
call.no_answer,
call.busy,
call.canceled
url
string
status
enum<string>
Available options:
pending,
delivered,
exhausted
attempt_count
integer
manual_retry_count
integer

Number of times the delivery was manually replayed.

next_attempt_at
string<date-time>
last_error
string | null
last_response_status
integer | null

HTTP status code from the most recent attempt.

delivered_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>