---
title: "Get History"
method: GET
path: "/dev/v1/webhook/history"
---

# Get History

`GET /dev/v1/webhook/history`

Get the history of webhooks within an optional lookback window, including
specific content URLs and last attempted delivery time and status.

## Query parameters

- `next-token` string
- `size` integer
- `days-ago` integer

## Response `200`

Success

- WebhookHistoryResponse
  - `Items` WebhookHistoryItem[] — Array of webhook delivery records.
    - `subscriptionId` string — ID of the Subscription linking recipient org to the publisher.
    - `contentUrl` string — URL to the content that was updated (e.g. a Time.com URL).
    - `deliveryUrl` string — URL that TollBit attempted to send this webhook to.
    - `eventType` 'CREATE' | 'UPDATE' — Event type (CREATE or UPDATE).
    - `lastAttempt` string, date-time — Timestamp in UTC of the last attempt to send the webhook to deliveryUrl.
    - `lastStatus` integer — HTTP status code of the last attempt.
    - `numAttempts` integer — Number of delivery attempts.
  - `nextToken` string — Optional continuation token if there are more results.

---

[API](https://skmtc.dev/tollbit/apis/tollbit-services.md) · [All operations](https://skmtc.dev/tollbit/apis/tollbit-services/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tollbit/tollbit-services/revisions/cf502dfc0024/schema)
