> ## Documentation Index
> Fetch the complete documentation index at: https://revise.io/developer/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retry a webhook delivery

> Send no body. Retry an exhausted delivery for an active endpoint: at most three manual cycles within seven days of creation. Each cycle has up to 11 attempts within 24 hours, bounded by the seven-day deadline. Reuse the same key to replay a retry. Notification ID and payload are preserved; deleted content is never restored. No Idempotent-Replayed header is returned.

See [payloads, signatures, and delivery behavior](/developer/docs/developer/docs/revise-api/webhooks) for integration guidance.

## TypeScript

```ts theme={null}
import { ReviseClient } from "@reviseio/api";

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
const result = await revise.webhooks.retry("wh_id", "delivery_id", {
  idempotencyKey: "delivery-retry-42",
});
```


## OpenAPI

````yaml developer/docs/openapi/revise-api.json POST /v1/webhooks/{id}/deliveries/{delivery_id}/retry
openapi: 3.1.0
info:
  title: Revise API
  version: 0.1.0
  description: >-
    Asynchronous document prompts and format conversions. Submit a job, poll its
    receipt or receive a webhook, then download its artifacts. USD amounts are
    exact decimal strings. Job content expires 24 hours after terminal
    completion. All account endpoints require a bearer API key.
servers:
  - url: https://revise.io/api
security:
  - apiKey: []
paths:
  /v1/webhooks/{id}/deliveries/{delivery_id}/retry:
    post:
      summary: Retry an exhausted delivery
      description: >-
        Send no body. Retry an exhausted delivery for an active endpoint: at
        most three manual cycles within seven days of creation. Each cycle has
        up to 11 attempts within 24 hours, bounded by the seven-day deadline.
        Reuse the same key to replay a retry. Notification ID and payload are
        preserved; deleted content is never restored. No Idempotent-Replayed
        header is returned.
      operationId: retryWebhookDelivery
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: delivery_id
          in: path
          required: true
          schema:
            type: string
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
      responses:
        '202':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookRetry'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookRetry:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
      required:
        - id
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
              additionalProperties: true
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Revise API key from https://revise.io/console/api-keys. Send
        Authorization: Bearer <key>.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.