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

# List Subscription Deliveries

> List webhook delivery attempts for a subscription.

Retrieves delivery attempt history from Hookdeck for the specified subscription.
Shows successful deliveries, failed attempts, and retry information.

Authentication: Requires X-API-Key header with valid API key.

Args:
    subscription_id: Subscription UUID
    identity: Authenticated API key identity
    repository: Repository for accessing subscriptions (injected)
    webhook_adapter: Hookdeck adapter for querying deliveries (injected)
    status_filter: Optional filter by status (successful, failed, etc.)
    limit: Maximum number of attempts to return (default 50)

Returns:
    WebhookDeliveryAttemptsListResponse with delivery attempts

Raises:
    401: If API key missing or invalid
    403: If subscription belongs to different workspace
    404: If subscription not found

Example:
    GET /api/v1/integrations/webhooks/subscriptions/550e8400-.../deliveries?limit=10

    Response (200):
    {
        "attempts": [
            {
                "id": "att_abc123",
                "status": "successful",
                "response_status": 200,
                "created_at": "2026-04-09T12:00:00Z",
                "event_id": "evt_xyz789"
            }
        ],
        "total": 1
    }



## OpenAPI

````yaml /openapi.json get /api/integrations/webhooks/subscriptions/{subscription_id}/deliveries
openapi: 3.1.0
info:
  title: Midmarket Integrations API
  description: An API for Midmarket integrations.
  version: 0.1.0
servers:
  - url: https://mm-midmarket-integrations-api-preview.azurewebsites.net
    description: preview
security: []
paths:
  /api/integrations/webhooks/subscriptions/{subscription_id}/deliveries:
    get:
      tags:
        - webhooks
      summary: List Subscription Deliveries
      description: >-
        List webhook delivery attempts for a subscription.


        Retrieves delivery attempt history from Hookdeck for the specified
        subscription.

        Shows successful deliveries, failed attempts, and retry information.


        Authentication: Requires X-API-Key header with valid API key.


        Args:
            subscription_id: Subscription UUID
            identity: Authenticated API key identity
            repository: Repository for accessing subscriptions (injected)
            webhook_adapter: Hookdeck adapter for querying deliveries (injected)
            status_filter: Optional filter by status (successful, failed, etc.)
            limit: Maximum number of attempts to return (default 50)

        Returns:
            WebhookDeliveryAttemptsListResponse with delivery attempts

        Raises:
            401: If API key missing or invalid
            403: If subscription belongs to different workspace
            404: If subscription not found

        Example:
            GET /api/v1/integrations/webhooks/subscriptions/550e8400-.../deliveries?limit=10

            Response (200):
            {
                "attempts": [
                    {
                        "id": "att_abc123",
                        "status": "successful",
                        "response_status": 200,
                        "created_at": "2026-04-09T12:00:00Z",
                        "event_id": "evt_xyz789"
                    }
                ],
                "total": 1
            }
      operationId: >-
        list_subscription_deliveries_api_integrations_webhooks_subscriptions__subscription_id__deliveries_get
      parameters:
        - name: subscription_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Subscription Id
        - name: status_filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Status Filter
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryAttemptsListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - apiKey: []
components:
  schemas:
    WebhookDeliveryAttemptsListResponse:
      properties:
        attempts:
          items:
            $ref: '#/components/schemas/WebhookDeliveryAttemptResponse'
          type: array
          title: Attempts
          description: List of delivery attempts
        total:
          type: integer
          title: Total
          description: Total number of attempts returned
      type: object
      required:
        - attempts
        - total
      title: WebhookDeliveryAttemptsListResponse
      description: Response model for listing webhook delivery attempts.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WebhookDeliveryAttemptResponse:
      properties:
        id:
          type: string
          title: Id
          description: Hookdeck attempt ID
        status:
          type: string
          title: Status
          description: Delivery status (successful, failed, etc.)
        responseStatus:
          anyOf:
            - type: integer
            - type: 'null'
          title: Responsestatus
          description: HTTP response status code
        createdAt:
          type: string
          title: Createdat
          description: Attempt creation timestamp
        eventId:
          anyOf:
            - type: string
            - type: 'null'
          title: Eventid
          description: Associated event ID
        eventType:
          anyOf:
            - type: string
            - type: 'null'
          title: Eventtype
          description: Event type (topic) this attempt was sent for
      type: object
      required:
        - id
        - status
        - createdAt
      title: WebhookDeliveryAttemptResponse
      description: Response model for a webhook delivery attempt from Hookdeck.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key. Format: sk_live_{64 hex chars}'
      x-default: sk_live_your_api_key_here

````