---
title: "The delivery log (30 days)"
method: GET
path: "/v1/webhooks/{id}/deliveries"
tags: ["Webhooks"]
---

# The delivery log (30 days)

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

## Request

- Base URL: `https://api.castpdf.com`
- URL: `https://api.castpdf.com/v1/webhooks/{id}/deliveries`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` string
- `before` string

## Response `200`

OK

- object
  - `data` WebhookDelivery[]
    - `id` string, uuid
    - `event_id` string
    - `event_type` 'pdf.created' | 'pdf.failed' | 'batch.completed'
    - `status` 'pending' | 'succeeded' | 'failed'
    - `attempts` integer
    - `response_status` integer, nullable
    - `response_body` string, nullable
    - `last_error` string, nullable
    - `duration_ms` integer, nullable
    - `test_event` boolean
    - `created_at` string, date-time
    - `last_attempt_at` string, date-time, nullable
    - `next_attempt_at` string, date-time, nullable
    - `event` object: The event exactly as it was sent: { id, type, created_at, livemode, data }.
  - `next_before` string, nullable

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/castpdf/apis/castpdf-api.md) · [All operations](https://skmtc.dev/castpdf/apis/castpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/castpdf/apis/castpdf-api/revisions/4ec737ba2ba6?raw)
