---
title: "List webhook subscription matched events"
method: GET
path: "/v2/data/webhooks/subscriptions/{subscriptionId}/matches"
tags: ["Webhooks"]
---

# List webhook subscription matched events

`GET /v2/data/webhooks/subscriptions/{subscriptionId}/matches`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/data/webhooks/subscriptions/{subscriptionId}/matches`
- Auth: HTTP bearer

Retrieve webhook events that match the `subscriptionId` specified.

Returns matches in descending order by creation time (newest first), including delivery status, retry count, next attempt time, and response details.

Only matched events are returned. Matched events are events that **both**:
  * Have the same `eventType` as defined in the subscription's list of `eventTypes`.
  * Match all `labels` defined in the subscription's `labels`.

If an event didn't match the subscription's `labels` or `eventTypes`, it will not be returned by this endpoint.

### Use Cases

- View all events for a subscription to inspect subscription health
- Confirm that a `target` URL received all matched events successfully

Use `eventId` to find all matches for a specific event, including replays.

Use `status` to return only matches in a given delivery state, such as `retrying` matches that need attention.

Use `pageSize` to control the number of matched events returned and `pageToken` to retrieve subsequent pages.

## Path parameters

- `subscriptionId` string, uuid, required

## Query parameters

- `pageSize` integer
- `pageToken` string
- `eventId` string, uuid
- `minCreatedAt` string, date-time
- `maxCreatedAt` string, date-time
- `eventTypes` string
- `status` 'retrying' | 'abandoned' | 'succeeded' | 'failed': Current state of the matched event. - `retrying`: The event is currently being retried. For when the next attempt will occur, see `nextAttemptAt`. - `abandoned`: The event was abandoned. This means the subscription was disabled during the retry lifecycle. - `succeeded`: The event was successfully delivered to the `target` URL. - `failed`: The event delivery failed due to reaching the maximum number of retry attempts or other non-retryable failure such as a subscription misconfiguration.

## Response `200`

Webhook events retrieved successfully.

- WebhookMatchListResponse: Response containing a list of webhook events that match the `subscriptionId` specified.
  - object
    - `matches` WebhookMatchResponse[], required: The list of webhook events that match the `subscriptionId` specified. Events are sorted by `createdAt` in descending order (most recent first).
      - `eventId` string, uuid, required: Unique identifier for the webhook event.
      - `matchId` string, uuid, required: Unique identifier for the webhook match.
      - `subscriptionId` string, uuid, required: Unique identifier for the webhook subscription.
      - `eventType` string, required: The type of event that was delivered (e.g., "onchain.activity.detected").
      - `status` 'retrying' | 'abandoned' | 'succeeded' | 'failed', required: Current state of the matched event. - `retrying`: The event is currently being retried. For when the next attempt will occur, see `nextAttemptAt`. - `abandoned`: The event was abandoned. This means the subscription was disabled during the retry lifecycle. - `succeeded`: The event was successfully delivered to the `target` URL. - `failed`: The event delivery failed due to reaching the maximum number of retry attempts or other non-retryable failure such as a subscription misconfiguration.
      - `createdAt` string, date-time, required: Timestamp when the underlying event was processed by the webhook system. If an event is replayed, a new `createdAt` will be recorded at the time of replay.
      - `occurredAt` string, date-time, required: Timestamp when the underlying event actually occurred. This is different from `createdAt`, which is the timestamp the event reached the webhook system and matched the subscription. If an event is replayed, the `occurredAt` timestamp will remain the same.
      - `succeededAt` string, date-time: Timestamp when the matched event was successfully delivered to the `target` URL. Only present if `status` is `succeeded`.
      - `attemptCount` integer, required: Number of delivery attempts so far. Includes the initial attempt and all retry attempts.
      - `payload` object: The payload of the event.
      - `latestAttempt` WebhookDeliveryAttempt: Outcome and timing of a single webhook delivery attempt.
        - `result` 'success' | 'retryable_failure' | 'permanent_failure', required: Outcome of the delivery attempt. The `result` indicates what the webhook system will do next. - `success`: The delivery succeeded. - `retryable_failure`: The delivery encountered a failure that is retryable, such as a timeout, 4xx or 5xx status code, or a transient connection error. - `permanent_failure`: The delivery encountered a non-retryable failure, such as a subscription configuration error or a disabled subscription. It will not be retried.
        - `errorMessage` string: Error message describing the failure, when available.
        - `attemptedAt` string, date-time, required: Timestamp when this delivery was attempted.
        - `statusCode` integer: HTTP status code returned by the webhook target. This is helpful for debugging delivery attempt errors. This value is only supplied if there was a completed outgoing request to the `target` URL and a valid HTTP response was received. If the delivery attempt experienced a network error, subscription configuration error, or other error that prevented a status code from being received, this field is omitted.
        - `attemptNumber` integer, required: Monotonically increasing attempt number for this matched event. The initial attempt is 1. A replayed match will have the same `eventId`, a new `matchId`, and a reset `attemptNumber` to 1.
        - `requestHeaders` object[]: Redacted list of headers sent in the request to the `target` URL. This list contains both: * The list of headers supplied by the user in the subscription's `headers` field (redacted). * The headers added by the system, such as `Content-Type`, `X-Webhook-Auth`, etc.
          - `name` string, required: Name of the header.
          - `value` string, required: Header value. User-supplied headers are always redacted. System-supplied headers are redacted only when sensitive.
        - `targetUrl` string: URL of the webhook target.
      - `nextAttemptAt` string, date-time: Timestamp when the matched event will be retried. Only supplied if the matched event's `status` is `retrying`.
  - [`ListResponse`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FListResponse)

## Other responses

- `400`: Invalid request parameters.
- `401`: Unauthorized.
- `404`: Webhook subscription not found.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

## Changes

- **2026-12-01** `06cb41a4fb57`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/data/webhooks/subscriptions/:subscriptionId/matches/get.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
