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

# List deliveries for a webhook

> Returns a paginated list of deliveries for a single webhook subscription, identified by its id. Each record reports the event, delivery status, attempt count, and the last response code or error. Results can be filtered by `eventId` (exact match against the originating event id).



## OpenAPI

````yaml /api-reference/webhooks.yaml get /webhooks/{id}/deliveries
openapi: 3.1.0
info:
  title: Webhooks
  version: v1
servers:
  - description: Droidrun Cloud API
    url: https://api.mobilerun.ai/v1
security:
  - bearerAuth: []
paths:
  /webhooks/{id}/deliveries:
    get:
      tags:
        - Webhook Deliveries
      summary: List deliveries for a webhook
      description: >-
        Returns a paginated list of deliveries for a single webhook
        subscription, identified by its id. Each record reports the event,
        delivery status, attempt count, and the last response code or error.
        Results can be filtered by `eventId` (exact match against the
        originating event id).
      operationId: listWebhookDeliveries
      parameters:
        - in: path
          name: id
          required: true
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMinimum: 0
            type: integer
        - in: query
          name: pageSize
          required: false
          schema:
            default: 10
            exclusiveMinimum: 0
            type: integer
        - in: query
          name: eventId
          required: false
          schema:
            description: Exact text match against the originating event id.
            maxLength: 256
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  items:
                    items:
                      properties:
                        attempts:
                          type: number
                        completedAt:
                          type:
                            - string
                            - 'null'
                        createdAt:
                          type: string
                        createdBy:
                          description: >-
                            Id of the parent endpoint's creator. Null when the
                            endpoint row is gone or its creator was never
                            recorded.
                          format: uuid
                          type:
                            - string
                            - 'null'
                        durationMs:
                          type:
                            - number
                            - 'null'
                        endpointId:
                          format: uuid
                          type: string
                        eventId:
                          type: string
                        eventType:
                          type: string
                        id:
                          format: uuid
                          type: string
                        isTest:
                          type: boolean
                        lastError:
                          type:
                            - string
                            - 'null'
                        lastStatusCode:
                          type:
                            - number
                            - 'null'
                        occurredAt:
                          type: string
                        source:
                          type: string
                        status:
                          enum:
                            - pending
                            - success
                            - skipped
                            - dead
                          type: string
                      required:
                        - id
                        - endpointId
                        - eventId
                        - eventType
                        - source
                        - status
                        - attempts
                        - lastStatusCode
                        - lastError
                        - durationMs
                        - isTest
                        - occurredAt
                        - createdAt
                        - completedAt
                        - createdBy
                      type: object
                    type: array
                  pagination:
                    $ref: '#/components/schemas/Pagination'
                required:
                  - items
                  - pagination
                type: object
          description: Deliveries
        '401':
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                required:
                  - error
                type: object
          description: Not Found
        '500':
          description: Internal Server Error
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Mobilerun from '@mobilerun/sdk';

            const client = new Mobilerun({
              apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.webhooks.deliveries.listForWebhook(
              '550e8400-e29b-41d4-a716-446655440000',
            );

            console.log(response.items);
        - lang: Python
          source: |-
            import os
            from mobilerun_sdk import Mobilerun

            client = Mobilerun(
                api_key=os.environ.get("MOBILERUN_CLOUD_API_KEY"),  # This is the default and can be omitted
            )
            response = client.webhooks.deliveries.list_for_webhook(
                id="550e8400-e29b-41d4-a716-446655440000",
            )
            print(response.items)
components:
  schemas:
    Pagination:
      properties:
        hasNext:
          type: boolean
        hasPrev:
          type: boolean
        page:
          minimum: 1
          type: integer
        pageSize:
          minimum: 1
          type: integer
        pages:
          minimum: 0
          type: integer
        total:
          minimum: 0
          type: integer
      required:
        - hasNext
        - hasPrev
        - page
        - pageSize
        - pages
        - total
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque
      description: Bearer token via Authorization header
      scheme: bearer
      type: http

````

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