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

# List deliveries

> Every delivery attempt made to this webhook (automatic and manual), newest first, for the last 90 days. Requires `webhooks:read`.



## OpenAPI

````yaml GET /v2/webhooks/{id}/deliveries
openapi: 3.1.0
info:
  title: Tavrn Platform API
  version: '2026-10-16'
  description: >-
    Enterprise API for medical record retrieval: cases, retrieval requests,
    retrieved records and provider invoices, case documents, and webhook
    notifications. Behaviour is versioned by date via the Tavrn-Version header
    (see Guides > Versioning); the path stays /v2.
  contact:
    name: Tavrn Support
    email: contact@tavrn.ai
servers:
  - url: https://enterprise.tavrn.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Cases
    description: Case management operations
  - name: Documents
    description: Document upload and management
  - name: Retrieval Requests
    description: Medical record retrieval requests submitted to healthcare facilities
  - name: Requestors
    description: Multiple retrieval profiles within one organization
  - name: Webhooks
    description: Webhook registration and event notifications
  - name: Events
    description: Persisted log of every event Tavrn emitted for your organization
paths:
  /v2/webhooks/{id}/deliveries:
    get:
      tags:
        - Webhooks
      summary: List deliveries
      description: >-
        Every delivery attempt made to this webhook (automatic and manual),
        newest first, for the last 90 days. Requires `webhooks:read`.
      operationId: listWebhookDeliveries
      parameters:
        - name: id
          in: path
          required: true
          description: Webhook ID
          schema:
            type: string
        - name: status
          in: query
          description: Only attempts with this outcome
          schema:
            type: string
            enum:
              - success
              - failed
              - blocked
        - name: cursor
          in: query
          description: Pagination cursor from a previous `next` or `previous` link
          schema:
            type: string
        - name: limit
          in: query
          description: Maximum number of results
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
      responses:
        '200':
          description: Delivery attempts, newest first
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        '400':
          description: Invalid status filter
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_request
                  message: status must be one of success, failed, blocked
        '404':
          description: >-
            Not found. Ids that belong to another organization are
            indistinguishable from unknown ids.
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: not_found
                  message: Webhook not found
        '500':
          $ref: '#/components/responses/InternalError'
components:
  headers:
    RequestId:
      description: >-
        Unique id for this request (`req_…`, or the `Request-Id` /
        `X-Request-Id` you sent, when printable ASCII and at most 128
        characters). Present on every /v2 response; quote it in support
        requests.
      schema:
        type: string
        maxLength: 128
        example: req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11
  schemas:
    WebhookDeliveryList:
      type: object
      required:
        - results
        - next
        - previous
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        next:
          type:
            - string
            - 'null'
        previous:
          type:
            - string
            - 'null'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
              description: Machine-readable error code
              example: validation_error
            message:
              type: string
              description: Human-readable error message
              example: The patient.date_of_birth field is required
            param:
              type: string
              description: Field the error refers to, when applicable
              example: patient.date_of_birth
            request_id:
              type: string
              description: Same value as the `Request-Id` response header
              example: req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11
            doc_url:
              type: string
              format: uri
              description: Link to this error code in the error reference
              example: https://docs.tavrn.ai/guides/v2/errors#validation_error
    WebhookDelivery:
      type: object
      required:
        - id
        - event_id
        - event_type
        - attempt
        - trigger
        - status
        - status_code
        - response_ms
        - error
        - delivered_at
        - next_retry_at
      properties:
        id:
          type: string
          description: Delivery attempt ID (used by the redeliver endpoint)
          example: 507f1f77bcf86cd799439017
        event_id:
          type: string
          example: rr-06a28fdc7a8abfa2a1c98dd0562020ebb41ca740377930a736854d23a6c9881a
        event_type:
          type: string
          example: retrieval_request.status_changed
        attempt:
          type: integer
          description: >-
            1-based attempt number for this event and endpoint; manual
            redeliveries continue the sequence
          example: 2
        trigger:
          type: string
          enum:
            - automatic
            - manual
        status:
          type: string
          enum:
            - success
            - failed
            - blocked
          description: '`blocked`: the URL failed the SSRF check and was not called'
        status_code:
          type:
            - integer
            - 'null'
          description: >-
            HTTP status your endpoint returned, or null on timeout/connection
            error
        response_ms:
          type: integer
          description: Round-trip time of the attempt in milliseconds
        error:
          type:
            - string
            - 'null'
          description: Short failure reason (status line, timeout, DNS, …)
        delivered_at:
          type: string
          format: date-time
          description: When the attempt was made
        next_retry_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When the next automatic attempt is scheduled, or null (succeeded,
            last attempt, or manual)
  responses:
    InternalError:
      description: >-
        Tavrn failed to process the request (`internal_error`). Retry with
        backoff; if it persists, contact support quoting the `Request-Id`.
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: internal_error
              message: Internal server error
              request_id: req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11
              doc_url: https://docs.tavrn.ai/guides/v2/errors#internal_error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API key authentication. Use format: `Authorization: Bearer
        tavrn_sk_live_...`

````