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

# List webhook deliveries

> Delivery log for your organisation, newest first.



## OpenAPI

````yaml https://api.openmail.sh/openapi.json get /v1/webhooks/deliveries
openapi: 3.0.3
info:
  title: OpenMail API
  description: >-
    Email infrastructure API for AI agents. Create inboxes, send and receive
    email, and get real-time notifications via webhooks.
  version: 1.0.0
  license:
    name: Proprietary
servers:
  - url: https://api.openmail.sh
security:
  - bearerAuth: []
tags:
  - name: pods
    description: Isolated sub-accounts for your end users or tenants
  - name: inboxes
    description: Email inboxes and their webhook configuration
  - name: domains
    description: >-
      Custom domains: add your own sending/receiving domain, publish DNS, and
      verify it
  - name: owned-domains
    description: >-
      Domains your organisation controls but does not send from. Prove ownership
      with one TXT record and mail to their addresses stops counting toward the
      cold outreach limits.
  - name: messages
    description: Sending and listing messages
  - name: threads
    description: Conversation threads and read status
  - name: attachments
    description: Downloading and extracting text from attachments
  - name: policy
    description: >-
      Correspondent policy — provider-enforced allow/block rules and allowlist
      mode, scoped per account, pod, or inbox. Account-wide key only.
  - name: limits
    description: >-
      Sending limits: today's cold outreach caps on new recipients, per account,
      inbox, and domain, and what raises them
  - name: webhooks
    description: >-
      Webhook endpoints: where events are sent, how each request is
      authenticated, and the delivery log. Account-wide key only.
  - name: feedback
    description: Reporting bugs, friction, and feature requests to the OpenMail team
paths:
  /v1/webhooks/deliveries:
    get:
      tags:
        - webhooks
      summary: List webhook deliveries
      description: Delivery log for your organisation, newest first.
      operationId: listWebhookDeliveries
      parameters:
        - schema:
            type: string
          in: query
          name: endpointId
          required: false
          description: Only deliveries to this endpoint
        - schema:
            type: string
            enum:
              - pending
              - delivered
              - failed
          in: query
          name: status
          required: false
        - schema:
            type: string
            enum:
              - message.received
              - inbox.suspended
              - inbox.reactivated
              - pod.suspended
              - pod.reactivated
          in: query
          name: eventType
          required: false
        - schema:
            type: integer
            default: 50
          in: query
          name: limit
          required: false
          description: Max results to return (clamped to 1–100)
        - schema:
            type: integer
            default: 0
          in: query
          name: offset
          required: false
          description: Number of results to skip
      responses:
        '200':
          description: Webhook deliveries
          content:
            application/json:
              schema:
                description: Webhook deliveries
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebhookDelivery'
                  total:
                    type: integer
        '401':
          description: Missing, invalid, or expired API key
          content:
            application/json:
              schema:
                description: Missing, invalid, or expired API key
                allOf:
                  - $ref: '#/components/schemas/Error'
        '403':
          description: >-
            The API key is pod- or inbox-scoped. Webhooks need an account-wide
            key.
          content:
            application/json:
              schema:
                description: >-
                  The API key is pod- or inbox-scoped. Webhooks need an
                  account-wide key.
                allOf:
                  - $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookDelivery:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
          description: Webhook delivery ID
        endpointId:
          type: string
          description: >-
            Endpoint the event was sent to. Null on history from before webhook
            endpoints existed.
          nullable: true
        eventId:
          type: string
          description: Event ID, shared by every endpoint that received the event.
        eventType:
          type: string
          enum:
            - message.received
            - inbox.suspended
            - inbox.reactivated
            - pod.suspended
            - pod.reactivated
        status:
          type: string
          enum:
            - pending
            - delivered
            - failed
        responseCode:
          type: integer
          description: HTTP status your endpoint returned.
          nullable: true
        error:
          type: string
          description: Why the last attempt failed.
          nullable: true
        attempts:
          type: integer
        createdAt:
          type: string
          format: date-time
        payload:
          type: object
          additionalProperties: true
          description: The JSON body that was sent.
    Error:
      type: object
      additionalProperties: true
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````

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