Webhooks

List webhook subscriptions

Changed on

Retrieve a paginated list of webhook subscriptions for the authenticated project. Returns subscriptions for all CDP product events (onchain, onramp/offramp, wallet, etc.) in descending order by creation time.

Use Cases

  • Monitor all active webhook subscriptions across CDP products
  • Audit webhook configurations
  • Manage subscription lifecycle
get/v2/data/webhooks/subscriptions

Request

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

Query parameters

pageSize, integer

The number of subscriptions to return per page.

pageToken, string

The token for the next page of subscriptions, if any.

Response

Webhook subscriptions retrieved successfully.

WebhookSubscriptionListResponse required
object

Response containing a list of webhook subscriptions.

subscriptions, WebhookSubscriptionResponse[] required

The list of webhook subscriptions.

Example response

{
  "subscriptions": [
    {
      "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
      "eventTypes": [
        "onchain.activity.detected"
      ],
      "isEnabled": true,
      "labels": {
        "contract_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "event_name": "Transfer",
        "network": "base-mainnet",
        "transaction_to": "0xf5042e6ffac5a625d4e7848e0b01373d8eb9e222"
      },
      "description": "USDC Transfer events to specific address.",
      "createdAt": "2025-11-12T09:19:52.051Z",
      "updatedAt": "2025-11-13T11:30:00.000Z",
      "metadata": {
        "secret": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "secret": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "target": {
        "url": "https://api.example.com/webhooks"
      }
    }
  ],
  "nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}

Changes

    • warning

      added the new payments.deposit_destinations.activated enum value to the allOf[subschema #1]/subscriptions/items/eventTypes/items response property for the response status

    • warning

      added the new payments.deposit_destinations.deactivated enum value to the allOf[subschema #1]/subscriptions/items/eventTypes/items response property for the response status

    • warning

      added the new payments.deposit_destinations.initiated enum value to the allOf[subschema #1]/subscriptions/items/eventTypes/items response property for the response status

    4 more changes in this revision