Update webhook subscription
Changed onUpdate an existing webhook subscription's configuration including event types, target URL, filtering criteria, and enabled status. All required fields must be provided, even if they are not being changed.
Common Updates
- Change target URL or headers
- Add/remove event type filters
- Update multi-label filtering criteria
- Enable/disable subscription
Request
- Base URL: https://api.cdp.coinbase.com/platform
- URL: https://api.cdp.coinbase.com/platform/v2/data/webhooks/subscriptions/{subscriptionId}
- Auth: HTTP bearer
Path parameters
Unique identifier for the webhook subscription.
Request body
Example request
{
"description": "Subscription for token transfer events",
"eventTypes": [
"onchain.activity.detected"
],
"target": {
"url": "https://api.example.com/webhooks",
"headers": {
"Authorization": "Bearer token123",
"Content-Type": "application/json"
}
},
"metadata": {
"foo": "bar",
"baz": "qux"
},
"labels": {
"network": "base-mainnet",
"contract_address": "0xcd1f9777571493aeacb7eae45cd30a226d3e612d",
"event_name": "Burn"
}
}Response
Webhook subscription updated successfully.
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
acceptance.mandate.approval_failedenum value to the/response property for the response status - warning
added the new
acceptance.mandate.approval_initiatedenum value to the/response property for the response status - warning
added the new
acceptance.mandate.approval_succeededenum value to the/response property for the response status - warning
added the new
acceptance.mandate.canceledenum value to the/response property for the response status - warning
added the new
acceptance.mandate.createdenum value to the/response property for the response status - warning
added the new
acceptance.mandate.revocation_failedenum value to the/response property for the response status - warning
added the new
acceptance.mandate.revocation_initiatedenum value to the/response property for the response status - warning
added the new
acceptance.mandate.revocation_succeededenum value to the/response property for the response status - warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
incompatible_event_typesenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_headersenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
invalid_webhook_urlenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_action_pendingenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_canceledenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_expiredenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_invalid_statusenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_policy_violationenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
mandate_revokedenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status - warning
added the new
subscription_limit_exceededenum value to theresponse property for the response status - info
added the new
acceptance.mandate.approval_failedenum value to the request property/ - info
added the new
acceptance.mandate.approval_initiatedenum value to the request property/ - info
added the new
acceptance.mandate.approval_succeededenum value to the request property/ - info
added the new
acceptance.mandate.canceledenum value to the request property/ - info
added the new
acceptance.mandate.createdenum value to the request property/ - info
added the new
acceptance.mandate.revocation_failedenum value to the request property/ - info
added the new
acceptance.mandate.revocation_initiatedenum value to the request property/ - info
added the new
acceptance.mandate.revocation_succeededenum value to the request property/
- warning
- breaking
added 'else' subschema to the request body
- breaking
added 'if' subschema to the request body
- breaking
added 'then' subschema to the request body
- breaking
the
/request property's maxLength was decreased to50 - breaking
the
/request property's minLength was increased from0to1 - breaking
added 'propertyNames' constraint to the request property
- warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
mfa_challenge_not_foundenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status - warning
added the new
operation_in_progressenum value to theresponse property for the response status - info
added 'else' subschema to the response body for the status
- info
added 'if' subschema to the response body for the status
- info
added 'then' subschema to the response body for the status
- breaking