Skip to main content
PUT
Update User Webhook

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

Unique identifier of the webhook to update.

Body

application/json
webhook_url
string

New HTTPS destination URL for event delivery; must satisfy the same validation rules as creation. Optional if event_types or name is provided.

Example:

"https://example.com/new-hook"

event_types
array

Replacement list of event slug subscriptions; must be non-empty if provided.

Example:
name
string

New optional display label for the webhook (max 120 characters).

Example:

"Updated name"

Response

Success; returns {success: true, webhook: object, enabled_notification_preferences: list}

success
boolean

Always true on success.

webhook
object

Updated webhook object with id, user_id, name, webhook_url, event_types, created_at, and updated_at.

enabled_notification_preferences
string[]

Preference keys auto-enabled for webhook delivery as a result of this update.