Skip to main content
POST
Update a webhook subscription

Authorizations

Authorization
string
header
required

API token for authentication

Body

application/json
workspace_id
string
required

The ID of the workspace

Example:

"ws_1234567890"

id
string
required

The ID of the subscription to update

Example:

"whsub_a1b2c3d4e5f6"

name
string
required

Updated name

Example:

"Production Webhook Updated"

url
string<uri>
required

Updated URL

Example:

"https://api.example.com/webhooks/notifuse/v2"

event_types
string[]
required

Updated list of event types

Example:
custom_event_filters
object | null

Optional filters for custom_event.* event types

enabled
boolean

Whether the subscription is enabled

Example:

true

Response

Webhook subscription updated successfully

subscription
object

A webhook subscription that receives HTTP callbacks when events occur