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

# List the webhooks we have sent you

> Needs the crypto:webhooks:read scope. Newest first, with the status your server answered with and the event that was sent. Filter with `endpoint_id` and `state`; follow `next_cursor` until it is null.




## OpenAPI

````yaml /openapi.yaml get /v1/webhooks/deliveries
openapi: 3.1.0
info:
  title: Taramiz Crypto API (live gateway)
  version: 0.1.0
  description: >
    Generate crypto deposit addresses. Draft: describes the endpoint built so
    far. Must be kept in step with the gateway by hand until it is generated.
servers:
  - url: http://127.0.0.1:44010
    description: Local development (task dev)
security:
  - bearerAuth: []
paths:
  /v1/webhooks/deliveries:
    get:
      summary: List the webhooks we have sent you
      description: >
        Needs the crypto:webhooks:read scope. Newest first, with the status your
        server answered with and the event that was sent. Filter with
        `endpoint_id` and `state`; follow `next_cursor` until it is null.
      operationId: listWebhookDeliveries
      parameters:
        - name: endpoint_id
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
        - name: state
          in: query
          required: false
          schema:
            type: string
            enum:
              - pending
              - delivered
              - failed
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
          description: The next_cursor from the previous page.
      responses:
        '200':
          description: One page of deliveries.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - next_cursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebhookDelivery'
                  next_cursor:
                    type:
                      - string
                      - 'null'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    WebhookDelivery:
      type: object
      required:
        - id
        - event_id
        - endpoint_id
        - url
        - state
        - attempts
        - last_status
        - last_error
        - created_at
        - next_attempt_at
        - last_attempt_at
        - delivered_at
        - payload
      properties:
        id:
          type: string
          format: uuid
        event_id:
          type: string
          description: The same for every attempt and every replay. De-duplicate on it.
        endpoint_id:
          type: string
        url:
          type: string
        state:
          type: string
          enum:
            - pending
            - delivered
            - failed
        attempts:
          type: integer
        last_status:
          type:
            - integer
            - 'null'
          description: >-
            The HTTP status your server answered with on the last attempt; null
            if it never answered.
        last_error:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        next_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the next attempt is due. Only pending deliveries have one.
        last_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        delivered_at:
          type:
            - string
            - 'null'
          format: date-time
        payload:
          type: object
          description: The event as it is sent.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable code.
              enum:
                - invalid_request
                - unauthorized
                - product_not_enabled
                - insufficient_scope
                - idempotency_conflict
                - request_in_progress
                - payload_too_large
                - not_found
                - service_unavailable
                - internal_error
            message:
              type: string
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        product_not_enabled, or insufficient_scope (the key lacks the scope this
        call needs).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Temporarily unavailable. Try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key, sent as `Authorization: Bearer <key>`.'

````

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