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
idstringOptionalRead-only
The webhook ID
urlstringOptionalformat: "uri"
The URL that will receive webhook events
descriptionstringOptional
A description of the webhook
event_filterslist of stringsOptional
Event types this webhook is subscribed to. If empty, the webhook receives all events
enabledbooleanOptional
Whether the webhook is enabled
created_atstringOptionalRead-onlyformat: "date-time"
When the webhook was created
updated_atstringOptionalRead-onlyformat: "date-time"
When the webhook was last updated

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error