Skip to main content
GET
/
v2
/
data
/
webhooks
/
subscriptions
List webhook subscriptions
curl --request GET \
  --url https://api.cdp.coinbase.com/platform/v2/data/webhooks/subscriptions \
  --header 'Authorization: Bearer <token>'
{
"subscriptions": [
{
"subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
"eventTypes": [
"wallet.transaction.created",
"token.transfer.completed"
],
"isEnabled": true,
"labelKey": "contract_address",
"labelValue": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"description": "Subscription for token transfer events.",
"createdAt": "2025-01-15T10:30:00Z",
"metadata": {
"secret": "123e4567-e89b-12d3-a456-426614174000"
},
"target": {
"url": "https://api.example.com/webhooks",
"headers": {
"Authorization": "Bearer token123"
}
}
}
],
"nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Query Parameters

pageSize
integer
default:20

The number of subscriptions to return per page.

Required range: 1 <= x <= 100
pageToken
string

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

Response

Webhook subscriptions retrieved successfully.

Response containing a list of webhook subscriptions.

subscriptions
object[]
required

The list of webhook subscriptions.

Response containing webhook subscription details.

Example:
{
"subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
"eventTypes": [
"wallet.transaction.created",
"token.transfer.completed"
],
"isEnabled": true,
"labelKey": "contract_address",
"labelValue": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"description": "Subscription for token transfer events.",
"createdAt": "2025-01-15T10:30:00Z",
"metadata": {
"secret": "123e4567-e89b-12d3-a456-426614174000"
},
"target": {
"url": "https://api.example.com/webhooks",
"headers": { "Authorization": "Bearer token123" }
}
}
nextPageToken
string

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

Example:

"eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="