Update a webhook endpoint
Change the delivery URL, replace the subscribed event types, pause/resume delivery, or update metadata. At least one field is required.
Authorizations
API key: Authorization: Bearer sk_test_... or sk_live_....
Headers
Pin a dated API release (Stripe-style). Omit to use the current version. An unknown value returns 400 request.invalid_version. Echoed back on every response.
"2026-07-10"
Connect: act on behalf of one of your connected accounts (its acct_…/org_… id). Omit to act as your own organization. Not honored on /v1/api_keys.
"org_2P9connectedacct"
Path Parameters
Webhook endpoint id, e.g. "we_2P9K3sample".
Body
New HTTPS delivery URL.
Replace the subscribed event types ("", "invoice.", or exact types).
1true pauses delivery to this endpoint; false re-enables it.
Merge patch: keys with an empty-string value are removed; others are upserted.
Response
Default Response
Always "webhook_endpoint".
webhook_endpoint Webhook endpoint id, e.g. "we_2P9K3sample".
HTTPS URL events are delivered to.
Subscribed event types ("*", namespace wildcards, or exact types).
False when the endpoint is paused (disabled).
True when this endpoint also receives connected-account events.
True if created with a live-mode key.
Integrator-owned key-value map echoed back.
Creation timestamp, ISO-8601 UTC.
Last-update timestamp, ISO-8601 UTC.