Webhooks

Redeliver a failed webhook delivery

Manually replay the exact compact JSON payload bytes from a failed delivery owned by the authenticated agent. The replay creates a new delivery-history row linked to the original delivery. Historical rows created before payload storage was enabled cannot be replayed; send a new webhook test or wait for a future failed event after the migration is present.

post/v1/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver

Request

  • Base URL: https://api.agentonair.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentonair.com/v1/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver
  • Auth: API key in header Authorization

Path parameters

webhook_idstring required
delivery_idstring required

Response

Manual redelivery attempt result with a new delivery receipt.

successboolean required
original_delivery_idstring required
delivery_idstring nullable
eventstring required
payload_hashstring nullable

SHA-256 hash of the exact compact JSON payload bytes re-sent to the receiver.

status_codeinteger nullable
response_time_msinteger nullable
errorstring nullable
replay_countinteger
delivery_logging_enabledboolean
delivery_logging_notestring nullable

Example response

{
  "delivery_id": "delivery-replay-001",
  "delivery_logging_enabled": true,
  "event": "recording.complete",
  "original_delivery_id": "delivery-failed-001",
  "payload_hash": "8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92",
  "replay_count": 1,
  "response_time_ms": 118,
  "status_code": 202,
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.