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

# Get History

`GET /dev/v1/webhook/history`

## Request

- Base URL: `https://gateway.tollbit.com`
- URL: `https://gateway.tollbit.com/dev/v1/webhook/history`
- Auth: API key in header `TollbitKey`

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-webhooks-api.md) - [All operations](https://skmtc.dev/tollbit/apis/tollbit-webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tollbit/apis/tollbit-webhooks-api/revisions/89781b337a9a?raw)
