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

# Listar entregas de webhook

> El registro de entregas, de las más nuevas a las más antiguas: una entrega por evento y endpoint, pendiente, entregada o fallida, con los intentos, el último estado de la URL y el próximo intento. El registro guarda 30 días.



## OpenAPI

````yaml /openapi.es.json get /v1/webhook-deliveries
openapi: 3.1.0
info:
  title: API de Bevits
  version: 1.0.0
  description: >-
    API pública de Bevits para consultar y gestionar datos de CRM, clientes,
    compras, segmentos, etiquetas, automatizaciones, recetas, campañas,
    plantillas de email, identidad de marca, eventos personalizados y webhooks.
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.bevits.com
    description: Producción
security:
  - bearerAuth: []
tags:
  - name: Sistema
    description: Disponibilidad de la API.
  - name: Identidad
    description: Identidad de la organización y de la clave API.
  - name: Clientes
    description: Clientes y sus relaciones.
  - name: Segmentos
    description: Segmentos de clientes.
  - name: Compras
    description: >-
      Compras de las integraciones de tienda y compras creadas por la API por
      quienes venden con su propio sistema.
  - name: Datos del CRM
    description: Etiquetas y definiciones de atributos.
  - name: Automatizaciones
    description: Flows de automatización.
  - name: Campañas
    description: Campañas de email, WhatsApp y SMS.
  - name: Cuenta y marca
    description: Contexto de la cuenta, identidad de marca e imágenes.
  - name: Recetas
    description: Automatizaciones listas creadas a partir de recetas, con deshacer.
  - name: Plantillas de email
    description: Creación e importación de plantillas de email.
  - name: Eventos
    description: Eventos personalizados enviados por la tienda y sus tipos.
  - name: Webhooks
    description: Endpoints que reciben los eventos de la tienda y el registro de entregas.
paths:
  /v1/webhook-deliveries:
    get:
      tags:
        - Webhooks
      summary: Listar entregas de webhook
      description: >-
        El registro de entregas, de las más nuevas a las más antiguas: una
        entrega por evento y endpoint, pendiente, entregada o fallida, con los
        intentos, el último estado de la URL y el próximo intento. El registro
        guarda 30 días.
      operationId: listWebhookDeliveries
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/WebhookDeliveryCursor'
        - $ref: '#/components/parameters/WebhookEndpointFilter'
        - $ref: '#/components/parameters/WebhookDeliveryStatus'
        - $ref: '#/components/parameters/WebhookEventTypeFilter'
      responses:
        '200':
          $ref: '#/components/responses/WebhookDeliveryPage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/ReadScopeRequired'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Cantidad máxima de elementos por página.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    WebhookDeliveryCursor:
      name: starting_after
      in: query
      description: Última entrega de la página anterior.
      schema:
        type: string
        pattern: ^wdl_[A-Za-z0-9_-]+$
    WebhookEndpointFilter:
      name: endpoint_id
      in: query
      description: Solo las entregas de este endpoint.
      schema:
        type: string
        pattern: ^wep_[A-Za-z0-9_-]+$
    WebhookDeliveryStatus:
      name: status
      in: query
      description: Solo las entregas con este estado.
      schema:
        type: string
        enum:
          - pending
          - succeeded
          - failed
    WebhookEventTypeFilter:
      name: event_type
      in: query
      description: Solo las entregas de este tipo de evento.
      schema:
        type: string
        enum:
          - email.delivered
          - email.opened
          - email.clicked
          - email.bounced
          - email.complained
          - contact.unsubscribed
          - customer.created
          - whatsapp.message.delivered
          - whatsapp.message.read
          - whatsapp.message.replied
          - purchase.created
          - order.created
          - order.paid
          - order.fulfilled
          - order.cancelled
  responses:
    WebhookDeliveryPage:
      description: Una página de entregas.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookDeliveryPage'
          example:
            data:
              - object: webhook_delivery
                id: wdl_0mgc2k1a7000a1b2c3d4e5f6g7
                endpoint_id: wep_0mgc2k1a7000a1b2c3d4e5f6g7
                event_id: wev_0mgc2k1a7000a1b2c3d4e5f6g7h8
                event_type: email.clicked
                status: succeeded
                attempts: 2
                next_attempt_at: null
                last_attempt_at: '2026-11-23T14:04:02.000Z'
                last_response_status: 200
                last_error_code: null
                succeeded_at: '2026-11-23T14:04:02.180Z'
                created_at: '2026-11-23T14:03:01.120Z'
            has_more: true
    Unauthorized:
      description: Clave API ausente, inválida, expirada o revocada.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: authentication_error
              message: Invalid API key.
              request_id: req_07f6cdc3c20249d6afcd90b4
    ReadScopeRequired:
      description: >-
        La clave API no tiene el alcance read. Es el caso de una clave solo de
        envío, creada únicamente con events:write.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: permission_denied
              code: missing_scope
              message: This API key does not have the required "read" scope.
              param: scope
              request_id: req_07f6cdc3c20249d6afcd90b4
    ValidationError:
      description: Un parámetro no superó la validación.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              type: validation_error
              message: Invalid query parameters.
              param: limit
              request_id: req_07f6cdc3c20249d6afcd90b4
    RateLimited:
      description: Límite de solicitudes superado.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
    InternalError:
      description: Error inesperado en el servidor.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    WebhookDeliveryPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        has_more:
          type: boolean
      required:
        - data
        - has_more
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
    RateLimitErrorResponse:
      allOf:
        - $ref: '#/components/schemas/ErrorResponse'
        - type: object
          required:
            - retry_after
          properties:
            retry_after:
              type: integer
              minimum: 1
              description: Segundos antes de volver a intentarlo.
    WebhookDelivery:
      type: object
      properties:
        object:
          type: string
          enum:
            - webhook_delivery
        id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        event_type:
          type: string
        status:
          type: string
          enum:
            - pending
            - succeeded
            - failed
        attempts:
          type: integer
        next_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        last_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        last_response_status:
          type:
            - integer
            - 'null'
        last_error_code:
          type:
            - string
            - 'null'
          description: >-
            También endpoint_disabled o endpoint_deleted, cuando el endpoint
            dejó de estar disponible con la entrega pendiente.
        succeeded_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
      required:
        - object
        - id
        - endpoint_id
        - event_id
        - event_type
        - status
        - attempts
        - next_attempt_at
        - last_attempt_at
        - last_response_status
        - last_error_code
        - succeeded_at
        - created_at
    Error:
      type: object
      required:
        - type
        - message
        - request_id
      properties:
        type:
          type: string
          enum:
            - authentication_error
            - conflict
            - internal_error
            - invalid_request
            - not_found
            - permission_denied
            - rate_limited
            - service_unavailable
            - validation_error
        code:
          type: string
          description: >-
            Motivo estable y legible por máquina dentro de type, como
            invalid_event_name. Presente cuando el error tiene un motivo con
            nombre.
        message:
          type: string
        param:
          type: string
          description: >-
            Ruta completa del campo con problema, como customer.email o
            events[3].name.
        suggestion:
          type: string
          description: Un valor que sería aceptado, cuando existe uno obvio.
        request_id:
          type: string
          pattern: ^req_[a-f0-9]{24}$
  headers:
    RetryAfter:
      description: Segundos antes de volver a intentarlo.
      schema:
        type: integer
        minimum: 1
    RateLimitLimit:
      description: Límite total de la ventana actual.
      schema:
        type: integer
        example: 600
    RateLimitRemaining:
      description: Solicitudes restantes en la ventana actual.
      schema:
        type: integer
        example: 599
    RateLimitReset:
      description: Instante UTC en que termina la ventana actual.
      schema:
        type: string
        format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: bvt_live_...
      description: Clave API creada en la configuración de la organización.

````

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