Skip to main content
PATCH
Update webhook

Path Parameters

webhook_id
string
required

Body

application/json

PATCH /v1/projects/{project_id}/webhooks/{webhook_id}

All fields optional - only the ones present in the body are updated. Re-enable an auto-disabled webhook by sending {"active": true}.

url
string | null
events
string[] | null
Minimum array length: 1
active
boolean | null
description
string | null
Maximum string length: 200

Response

Webhook updated

Webhook subscription representation.

secret is set only on the create + rotate-secret responses; list, get, and patch responses omit it.

webhook_id
string
required
project_id
string
required
url
string
required
events
string[]
required
active
boolean
default:true
description
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null
disabled_at
string<date-time> | null
disabled_reason
string | null
last_delivered_at
string<date-time> | null
last_error
string | null
consecutive_failures
integer
default:0
secret
string | null