Skip to main content
Version: 2025-12-18

Updates a webhook for an account

PUT 

/accounts/:account_id/webhooks/:webhook_id

Updates the URL or the list of subscribed events for a webhook.

This endpoint uses optimistic locking. You must provide the webhook's current version in the If-Match header. You can get this value from the ETag header of a GET request for this resource.

Request

Responses

The webhook was updated successfully.

Response Headers
    idempotency-key

    A unique key that you can provide to safely retry requests without accidentally performing the same operation twice.

    We suggest using a UUID v4 or another random string with sufficient entropy to avoid collisions.

    Examples:

    • 96C65204-90C2-4DCB-9393-B8226DD50C76
    • 01BTGNYV6HRNK8K8VKZASZCFP0