Skip to main content
POST
Toggle webhook subscription enabled state

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

Example:

"whsub_a1b2c3d4e5f6"

enabled
boolean
required

Whether to enable or disable the subscription

Example:

true

Response

Webhook subscription toggled successfully

subscription
object

A webhook subscription that receives HTTP callbacks when events occur