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

# List Deliveries

> View delivery history for a webhook subscription.

`GET /v1/webhooks/{webhook_id}/deliveries`

<Note>
  **v1.0 schema lock.** The response shape on this page is the locked v1.0 contract. We will never remove a documented field, never rename a field, and never change a field's type without bumping to v2 (see [Versioning](/get-started/versioning)).
</Note>

View recent delivery logs for a specific webhook subscription. Shows status codes, response times, errors, and retry attempts. Returns the most recent deliveries first.

## Parameters

| Name         | Type    | In    | Required | Default | Description                        |
| ------------ | ------- | ----- | -------- | ------- | ---------------------------------- |
| `webhook_id` | integer | path  | Yes      | —       | The webhook subscription ID        |
| `api_key`    | string  | query | Yes      | —       | Your API key                       |
| `limit`      | integer | query | No       | `50`    | Max deliveries to return (max 100) |

## Example

```bash theme={null}
curl "https://api.autosnap.com/v1/webhooks/42/deliveries?api_key=YOUR_API_KEY&limit=10"
```

## Response

```json theme={null}
{
  "success": true,
  "count": 3,
  "deliveries": [
    {
      "id": 101,
      "event_type": "vehicle.created",
      "dealership_id": "dlr_8cfc0b00a98b",
      "response_status": 200,
      "response_time_ms": 87,
      "success": true,
      "error_message": null,
      "dealership_name": "Carl Black Buick GMC",
      "request_url": "https://yourapp.com/webhooks/autosnap",
      "request_payload": {
        "event": "vehicle.created",
        "dealership_id": "dlr_8cfc0b00a98b",
        "timestamp": "2026-04-09T16:38:05.123456+00:00",
        "data": { "vin": "1GCHSCEA7L1214921" }
      },
      "response_body": "{\"received\":true}",
      "created_at": "2026-04-09T16:38:05+00:00"
    },
    {
      "id": 100,
      "event_type": "import.complete",
      "dealership_id": "dlr_8cfc0b00a98b",
      "response_status": 200,
      "response_time_ms": 263,
      "success": true,
      "error_message": null,
      "dealership_name": "Carl Black Buick GMC",
      "request_url": "https://yourapp.com/webhooks/autosnap",
      "request_payload": {
        "event": "import.complete",
        "dealership_id": "dlr_8cfc0b00a98b",
        "timestamp": "2026-04-09T16:38:02.654321+00:00",
        "data": { "website_url": "carlblackroswell.com" }
      },
      "response_body": "{\"received\":true}",
      "created_at": "2026-04-09T16:38:02+00:00"
    }
  ]
}
```

## Errors

| Status | Description                            |
| ------ | -------------------------------------- |
| 404    | Webhook not found                      |
| 403    | Webhook belongs to a different account |


## OpenAPI

````yaml GET /v1/webhooks/{webhook_id}/deliveries
openapi: 3.0.3
info:
  title: AutosnapAI Origin API
  description: Dealer resolution, inventory management, and webhook APIs
  version: 1.0.0
servers:
  - url: https://api.autosnap.com
    description: Production
security: []
paths:
  /v1/webhooks/{webhook_id}/deliveries:
    get:
      tags:
        - origin
      summary: List Deliveries
      description: List recent delivery logs for a webhook subscription.
      operationId: list_deliveries_v1_webhooks__webhook_id__deliveries_get
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: integer
            title: Webhook Id
        - name: api_key
          in: query
          required: true
          schema:
            type: string
            title: Api Key
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````