---
title: "Update webhook subscription"
method: PUT
path: "/v2/data/webhooks/subscriptions/{subscriptionId}"
tags: ["Webhooks"]
---

# Update webhook subscription

`PUT /v2/data/webhooks/subscriptions/{subscriptionId}`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/data/webhooks/subscriptions/{subscriptionId}`
- Auth: HTTP bearer

Update 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

## Path parameters

- `subscriptionId` string, uuid, required

## Request body

- WebhookSubscriptionUpdateRequest: Request to update an existing webhook subscription.
  - `description` string: A human-readable description of the webhook subscription. Must be at most 100 characters.
  - `eventTypes` EventType[], required: Types of events to subscribe to. Event types follow a three-part dot-separated format: service.resource.verb (e.g., "onchain.activity.detected", "wallet.activity.detected", "onramp.transaction.created").
  - `isEnabled` boolean, required: Whether the subscription is enabled.
  - `target` WebhookTarget, required: Target configuration for webhook delivery. Specifies the destination URL and any custom headers to include in webhook requests.
    - `url` string, uri, required: The webhook URL to deliver events to. Must be a publicly accessible HTTPS URL that responds to HEAD requests with a 200 status code. If the URL is not publicly accessible or doesn't respond to HEAD requests with a 200 status code, the URL will be rejected with a 400.
    - `headers` object: Additional headers to include in webhook requests.
  - `metadata` WebhookMetadata: Optional subscription metadata. Up to 10 key/value pairs may be provided. Keys and values must each contain between 1 and 50 characters.
  - `labels` WebhookRequestLabels: String-valued filters supplied when creating or updating a webhook subscription. The subscription's `eventTypes` determine whether labels are required and which label keys are accepted. A subscription accepts at most 20 client-supplied labels. #### Label Behavior An event must match ALL labels to fire to your subscription `targetURL`. When multiple labels are supplied, the event must match ALL labels to fire to your subscription `targetURL`.

## Response `200`

Webhook subscription updated successfully.

- WebhookSubscriptionResponse: Response containing webhook subscription details.
  - `createdAt` string, date-time, required: When the subscription was created.
  - `updatedAt` string, date-time: When the subscription was last updated.
  - `description` string: A human-readable description of the webhook subscription. Must be at most 100 characters.
  - `eventTypes` EventType[], required: 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").
  - `isEnabled` boolean, required: Whether the subscription is enabled.
  - `metadata` intersection: Additional metadata for the subscription.
    - [`Metadata`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FMetadata)
    - object
      - `secret` string, uuid: Use the root-level `secret` field instead. Maintained for backward compatibility only.
  - `secret` string, uuid, required: Secret for webhook signature validation.
  - `subscriptionId` string, uuid, required: Unique identifier for the subscription.
  - `target` WebhookTarget, required: Target configuration for webhook delivery. Specifies the destination URL and any custom headers to include in webhook requests.
    - `url` string, uri, required: The webhook URL to deliver events to. Must be a publicly accessible HTTPS URL that responds to HEAD requests with a 200 status code. If the URL is not publicly accessible or doesn't respond to HEAD requests with a 200 status code, the URL will be rejected with a 400.
    - `headers` object: Additional headers to include in webhook requests.
  - `labels` WebhookResponseLabels: 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.

## Other responses

- `400`: Invalid subscription update configuration.
- `401`: Unauthorized.
- `404`: Webhook subscription not found.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

## Changes

- **2026-12-01** `06cb41a4fb57`: 3 breaking, 8 warning, 3 info
  - added 'else' subschema to the request property `/else/else/else/else/`
  - added 'if' subschema to the request property `/else/else/else/else/`
  - added 'then' subschema to the request property `/else/else/else/else/`
  - added the new `payments.deposit_destinations.activated` enum value to the `eventTypes/items/` response property for the response status `200`
  - …10 more
- **2026-10-16** `ff3c1fdef902`: 8 warning, 3 info
  - added the new `acceptance.top_up_link.created` enum value to the `eventTypes/items/` response property for the response status `200`
  - added the new `acceptance.top_up_link.funds_added` enum value to the `eventTypes/items/` response property for the response status `200`
  - added the new `customers.requirement.changed` enum value to the `eventTypes/items/` response property for the response status `200`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - …7 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/data/webhooks/subscriptions/:subscriptionId/put.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
