Creates a new instance of the resource. If data is provided it will be parsed as if it had come from the remote api.
Optionaldata: anyOptional_linksOptionalactiveEnables or disables the webhook
OptionalcustomA customized payload format.
OptionaleventsList of events that will cause this webhook to trigger
OptionalfiltersList of filters used to gate sending of webhooks.
OptionalhandlersList of callback URLs to invoke when an event triggers
OptionalheadersList of custom webhook headers to be sent.
OptionalidUnique id generated on creation
OptionallabelFriendly display label for the Webhook
OptionalmethodThe webhooks HTTP method.
ReadonlyrelatedResources and actions related to a Webhook
OptionalsecretWhen 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.