Update a webhook

Update a webhook subscription. Only the fields provided in the request body will be updated

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
The webhook ID

Request

This endpoint expects an object.
urlstringOptionalformat: "uri"
The URL that will receive webhook events
descriptionstringOptional
A description of the webhook
event_filterslist of stringsOptional
Event types to subscribe to. An empty list subscribes to all events
enabledbooleanOptional
Whether the webhook is enabled

Response

Webhook updated
idstringRead-only
The webhook ID
urlstringformat: "uri"
The URL that will receive webhook events
descriptionstring
A description of the webhook
event_filterslist of strings
Event types this webhook is subscribed to. If empty, the webhook receives all events
enabledboolean
Whether the webhook is enabled
created_atstringRead-onlyformat: "date-time"
When the webhook was created
updated_atstringRead-onlyformat: "date-time"
When the webhook was last updated

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error