---
title: "Returns webhook events history for replay and debugging purposes"
method: GET
path: "/accounts/{account_id}/webhooks/{webhook_id}/events-history"
tags: ["Notifications Webhooks"]
---

# Returns webhook events history for replay and debugging purposes

`GET /accounts/{account_id}/webhooks/{webhook_id}/events-history`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/accounts/{account_id}/webhooks/{webhook_id}/events-history`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/accounts/:account_id/webhooks/:webhook_id/events-history/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns webhook events history for replay and debugging purposes. Filter events by type, delivery status, and time range to analyze past webhook deliveries and replay failed events.

## Response `200`

A response containing webhook events history for replay and debugging.

- object
  - `events` WebhookEvent[]: A list of webhook events
    - `id` string, ulid: ULID for this webhook event
    - `type` 'target-group-updated' | 'quota-fill-registered' | 'session-updated': Name of the event type that is valid for a webhook type notification.
    - `payload` object: The payload of the webhook event
    - `status` 'pending' | 'delivering' | 'delivered' | 'undelivered' | 'bounced' | 'expired': Delivery status of the webhook event. Pending is the initial status assigned to an event when it is first persisted. Delivering is a transient state indicating that delivery attempts are in progress. Delivered is the final success state indicating that the event has been successfully delivered to the webhook endpoint. Undelivered is a temporary failure state for a persisted event that could not be delivered but will be retried. Bounced is a temporary infrastructure failure state. Events in this status are managed by a Circuit Breaker and are considered non-retryable until connectivity is restored. Expired is the final terminal failure state. In this state, the event is retired, and no further automatic redelivery attempts will be made.
    - `created_at` string, date-time: RFC3339 formatted timestamp of the event creation time
  - `next_cursor` string, nullable: An identifier for pagination that indicates there are more items available. When present, use this value to retrieve the next page of results.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `500`: A request failed due to an internal error.

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/077a4bdda5cb?raw)
