Webhooks

List webhook subscription events

Changed on

Deprecation Notice: This endpoint is deprecated in favor of GET /v2/data/webhooks/subscriptions/{subscriptionId}/matches. Use GET /v2/data/webhooks/subscriptions/{subscriptionId}/matches for a richer history of events delivered to a webhook subscription.

Retrieve webhook event delivery attempts for a specific subscription. Returns event deliveries in descending order by creation time (newest first), including delivery status, retry count, and response details.

Use Cases

  • Debug webhook delivery failures and inspect response codes
  • Monitor delivery status and retry counts
  • Audit event delivery history for a subscription
  • Verify that expected events were sent to webhook URLs

Filtering

Use optional query parameters to narrow results:

  • eventId — find a specific event by ID
  • minCreatedAt / maxCreatedAt — filter by time range
  • eventTypeNames — filter by event type (comma-separated)

Note: Results are limited to the 50 most recent events (newest first). No pagination is supported.

get/v2/data/webhooks/subscriptions/{subscriptionId}/events

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

subscriptionId, string uuid required

Unique identifier for the webhook subscription.

Query parameters

eventId, string uuid

Filter by a specific event ID.

minCreatedAt, string date-time

Filter events created at or after this timestamp (RFC 3339 format).

maxCreatedAt, string date-time

Filter events created at or before this timestamp (RFC 3339 format).

eventTypeNames, string

Filter by event type names (comma-separated).

Response

Webhook events retrieved successfully.

WebhookEventListResponse required

Response containing a list of webhook event delivery attempts.

events, WebhookEventResponse[] required

The list of webhook event delivery attempts.

Example response

{
  "events": [
    {
      "eventId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "eventTypeName": "onchain.activity.detected",
      "status": "succeeded",
      "createdAt": "2025-01-15T10:30:00Z",
      "succeededAt": "2025-01-15T10:30:02Z",
      "retryCount": 0,
      "response": {
        "httpCode": 200,
        "elapsedTimeMs": 142,
        "body": "ok"
      }
    }
  ]
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    3 more changes in this revision