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

# List webhook deliveries

> Newest first, scoped cursor. Retained for 30 days. Payloads, target response bodies, and secrets are not returned.

## TypeScript

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

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
const result = await revise.webhooks.deliveries("wh_id", { limit: 20 });
```


## OpenAPI

````yaml openapi/revise-api.json GET /v1/webhooks/{id}/deliveries
openapi: 3.1.0
info:
  title: Revise API
  version: 0.1.0
  description: >-
    Queued document prompting and file conversion. Conversion supports the same
    formats as revise.io/converter, including semantic PDF/image scanning. USD
    responses are exact decimal strings. Same-origin downloads require Bearer
    auth. Account provider keys (BYOK) are pinned at admission. Request content
    expires 24 hours after terminal completion; encrypted artifacts use compact
    JWE RSA-OAEP-256/A256GCM.
servers:
  - url: https://revise.io/api
security:
  - apiKey: []
paths:
  /v1/webhooks/{id}/deliveries:
    get:
      summary: List delivery history
      description: >-
        Newest first, scoped cursor. Retained for 30 days. Payloads, target
        response bodies, and secrets are not returned.
      operationId: listWebhookDeliveries
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: cursor
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookDeliveryList:
      type: object
      additionalProperties: false
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        next_cursor:
          type:
            - string
            - 'null'
      required:
        - data
        - next_cursor
    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
    WebhookDelivery:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          example: del_36106431-4db2-459a-92d9-08ce744d5aac
        event_id:
          type: string
          example: evt_b70793a8-0a0c-4e8f-827d-f1ddba77703f
        event_type:
          type: string
          example: prompt.completed
        status:
          type: string
          enum:
            - pending
            - sending
            - delivered
            - exhausted
            - cancelled
          example: pending
        attempts:
          type: integer
          minimum: 0
          example: 2
        next_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-09-08T12:02:00Z'
        last_http_status:
          type:
            - integer
            - 'null'
          example: 503
        last_error:
          type:
            - string
            - 'null'
          example: http_error
        created_at:
          type: string
          format: date-time
          example: '2026-09-08T12:00:00Z'
        delivered_at:
          type:
            - string
            - 'null'
          format: date-time
          example: null
      required:
        - id
        - event_id
        - event_type
        - status
        - attempts
        - next_attempt_at
        - last_http_status
        - last_error
        - created_at
        - delivered_at
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Revise API key from https://revise.io/console/api-keys. Send
        Authorization: Bearer <key>.

````