# Retry a webhook delivery

Requeues a failed or exhausted webhook delivery for another attempt.

**Limits:** this endpoint takes no request body; any body sent is
capped at 64 KB. An oversized body returns a `400` with error code
`request_too_large`.

**POST** `/v1/webhook-deliveries/{id}/retry`

## Parameters

- `id` (path, string, required)

## Responses

### 200 — Successful response.
- `id`
- `event_type`
- `target_url`
- `status`
- `attempts`
- `max_attempts`
- `next_attempt_at`
- `response_status`
- `response_ms`
- `created_at`
- `delivered_at`
- `screenshot_id`
- `recording_id`
- `bulk_id`
- `monitor_id`
- `scrape_id`

### 400 — Bad request. Returned when the request body exceeds this
endpoint's size limit; the error code is `request_too_large`.
- `status`
- `error`
- `error.code`
- `error.message`
- `error.http_status`
- `error.failed_at`
- `error.details`

### 401 — Unauthorized. The request carried no valid credential, and no work was
performed. The unified `Error` envelope carries one of the codes below
in `error.code`; match on the code, never on the prose.

- `invalid_api_key` — a bearer API key was presented and rejected:
  unknown, revoked, expired or malformed. The bearer-only operations
  (`/v1/webhook-deliveries*` among them) also return it when no
  `Authorization` header is sent. `GET /v1/account` is the exception
  to "malformed": it returns `invalid_api_key` only for a key that
  starts `sk_test_` or `sk_live_` and is unknown, revoked or expired.
- `unauthorized` — the `Authorization` header is absent or malformed on
  an operation that also accepts a dashboard session (the dual-auth and
  billing operations). `GET /v1/account` also returns it, for no
  `Authorization` header and for any bearer value that does not start
  `sk_test_` or `sk_live_` (that value is checked as a dashboard
  session token).

Not retryable as-is: supply a valid API key first.
- `status`
- `error`
- `error.code`
- `error.message`
- `error.http_status`
- `error.failed_at`
- `error.details`

### 404 — Delivery not found or not in a retryable state.
- `status`
- `error`
- `error.code`
- `error.message`
- `error.http_status`
- `error.failed_at`
- `error.details`