Update Webhook
Update a webhook's URL or subscribed events.
Updates an existing webhook's URL and/or the events it's subscribed to.
Endpoint
PATCH /v1/webhooks/:idAuthentication
This endpoint requires a business-user JWT (not an API key).
Header
Value
Authorization
Bearer <jwt>
Required roles: BUSINESS_ADMIN or BUSINESS_DEVELOPER.
Path parameters
Parameter
Type
Description
id
string
Webhook UUID
Request body
Both fields are required by the UpdateWebhookDto (the URL must be valid and events must be a non-empty, unique array).
Field
Type
Required
Description
url
string
Yes
Updated webhook URL (must be a valid URL)
events
string[]
Yes
Updated list of events (replaces existing list; must not be empty, no duplicates)
Example request
Example response
Last updated