Get webhook subscription
Changed onRetrieve detailed information about a specific webhook subscription including configuration, status, creation timestamp, and webhook signature secret.
Response Includes
- Subscription configuration and filters
- Target URL and custom headers
- Webhook signature secret for verification
- Creation timestamp and status
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
Unique identifier for the webhook subscription.
Response
Webhook subscription details retrieved successfully.
Response containing webhook subscription details.
When the subscription was created.
When the subscription was last updated.
A human-readable description of the webhook subscription. Must be at most 100 characters.
Types of events to subscribe to. Event types follow a dot-separated format: service.resource.verb (e.g., "onchain.activity.detected", "wallet.activity.detected", "onramp.transaction.created", "acceptance.payment_session.authorization_succeeded").
Whether the subscription is enabled.
Additional metadata for the subscription.
Secret for webhook signature validation.
Unique identifier for the subscription.
Target configuration for webhook delivery. Specifies the destination URL and any custom headers to include in webhook requests.
Effective filters stored on the webhook subscription. The response includes client-supplied labels plus labels defaulted or injected by the server.
- onchain.activity.detected, wallet.activity.detected, and wallet.activity.multi include network. It defaults to base-mainnet when omitted from the request.
- wallet.activity.multi includes the requested comma-separated wallet_addresses.
- health.* includes the requested service.
- Project-scoped events include the authenticated project.
- Entity-scoped events include the authenticated entity.
- User-scoped events include the authenticated user_uuid and a sandbox value.
Example response
{
"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"
}
}Changes
- warning
added the new
payments.deposit_destinations.activatedenum value to theeventTypes/itemsresponse property for the response status - warning
added the new
payments.deposit_destinations.deactivatedenum value to theeventTypes/itemsresponse property for the response status - warning
added the new
payments.deposit_destinations.initiatedenum value to theeventTypes/itemsresponse property for the response status
4 more changes in this revision
- warning