Update webhook
PATCH
/webhooks/{webhookId}
Update the target URL, secret, or subscribed event types for a webhook.
Parameters
Header Parameters
compatibility-date*
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
Type
Requiredstring
Example
"2025-11-01"Pattern
"^\\d{4}-\\d{2}-\\d{2}$"organization-id*
Type
Requiredstring
Min Length
1Max Length
40Path Parameters
webhookId*
Type
Requiredstring
Request Body
application/json
url
string
Max Length
256Format
"uri"secret
string
Min Length
8Max Length
40eventTypes
string[]
Min Items
1Responses
success.webhook.update
application/json
object
success
const:true
Required
webhook
object
Required