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
idstring or nullRead-only
The webhook ID
urlstring or nullformat: "uri"
The URL that will receive webhook events
descriptionstring or null
A description of the webhook
event_filterslist of strings or null
Event types this webhook is subscribed to. If empty, the webhook receives all events
enabledboolean or null
Whether the webhook is enabled
created_atstring or nullRead-onlyformat: "date-time"
When the webhook was created
updated_atstring or nullRead-onlyformat: "date-time"
When the webhook was last updated

Errors