Creates a new instance of the resource. If data is provided it will be parsed as if it had come from the remote api.
Optional
data: anyOptional
_linksOptional
activeEnables or disables the webhook
Optional
customA customized payload format.
Optional
eventsList of events that will cause this webhook to trigger
Optional
filtersList of filters used to gate sending of webhooks.
Optional
handlersList of callback URLs to invoke when an event triggers
Optional
headersList of custom webhook headers to be sent.
Optional
idUnique id generated on creation
Optional
labelFriendly display label for the Webhook
Optional
methodThe webhooks HTTP method.
Readonly
relatedResources and actions related to a Webhook
Optional
secretWhen a notification is sent, this value will be used to calculate a cryptographic hash which is transmitted as part of the notification. This hash can be used to assert a trusted party sent the notification.
Class representing the Webhook resource. A Webhook is a HTTP callback: a HTTP request that occurs when something happens; a simple event-notification via the HTTP protocol.