Skip to main content
PATCH
Update a webhook endpoint

Authorizations

Authorization
string
header
required

API key (sk_test_... or sk_live_...)

Path Parameters

code
string<uuid>
required

Webhook endpoint UUID

Body

application/json
url
string<uri>

New HTTPS URL (triggers a validation ping)

Example:

"https://new-url.com/webhooks"

events
string[]

Updated list of event types

Example:
description
string | null
is_active
boolean

Set to false to disable, true to re-enable (resets failure counter)

Response

Webhook endpoint updated

success
boolean
Example:

true

data
object