Skip to main content
PATCH
Update a webhook
Partially updates a webhook. Only the fields you send change. To change the signing secret, use Rotate. Returns the updated webhook object.

Path parameters

string
required
The webhook’s id (UUID).

Request body

string
New target URL, up to 2048 characters. Must be https:// and publicly reachable. It is verified with a HEAD request before the change is saved, and the old URL is kept if verification fails.
string[]
Replacement list of event types, or ["*"] for the session.status_updated firehose.
string
New label, up to 255 characters.
boolean
Set true to pause deliveries without deleting the webhook. Setting false re-enables a webhook that was disabled automatically after repeated delivery failures.

Examples

Errors