redrive_webhook_delivery
Requeue a dead-lettered webhook delivery: reset to pending, due now. Admin scope.
Valid ONLY on a `dead` delivery (a live receiver that exhausted its retries); any other
status is a 409 conflict and a delivery you do not own is not_found. It re-attempts
through the normal pipeline and, if it dies again, dead-letters normally. Args:
delivery_id (from list_webhook_deliveries), api_key. Returns the refreshed row. Errors:
unauthorized, forbidden, not_found, conflict, rate_limited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for this call. Omit to fall back to the Authorization: Bearer / X-API-Key request header (streamable-HTTP only), then the VHGENGINE_API_KEY env var (the stdio default). No key resolvable -> unauthorized. | |
| delivery_id | Yes | The delivery to requeue, from list_webhook_deliveries. Only a `dead` row can be redriven; any other status is a conflict and a delivery you do not own is not_found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Last failure reason, or null. | |
| status | No | Reset to 'pending' and due now. | |
| dead_at | No | When it was dead-lettered, or null once redriven. | |
| attempts | No | Attempts so far; the redrive adds to this count. | |
| created_at | No | When the delivery was first enqueued, ISO-8601 UTC. | |
| event_type | No | The event this delivery carries. | |
| delivery_id | No | The delivery that was requeued. | |
| delivered_at | No | When it finally succeeded, or null. | |
| next_attempt_at | No | When the pipeline will try again, ISO-8601 UTC. Null on a terminal row. | |
| payload_preview | No | First 200 chars of the body; the full body is never returned. | |
| last_status_code | No | HTTP status of the most recent attempt, or null. |