fdl.Webhook

Represents the Webhook Config.

Input ParameterTypeDefaultDescription
namestrNoneA unique name for the webhook.
urlstrNoneThe webhook url used for sending notification messages.
providerstrNoneThe platform that provides webhooks functionality. Only ‘SLACK’ is supported.
uuidstrNoneA unique identifier for the webhook.
organization_namestrNoneThe name of the organization in which the webhook is created.
webhook = fdl.Webhook(
    name='data_integrity_violations_channel',
    url='https://hooks.slack.com/services/T9EAVLUQ5/P982J/G8ISUczk37hxQ15C28d',
    provider='SLACK',
  	uuid='74a4fdcf-34eb-4dc3-9a79-e48e14cca686',
    organization_name='some_org',
)

Example Response:

Webhook(name='data_integrity_violations_channel',
    url='https://hooks.slack.com/services/T9EAVLUQ5/P982J/G8ISUczk37hxQ15C28d',
    provider='SLACK',
  	uuid='74a4fdcf-34eb-4dc3-9a79-e48e14cca686',
    organization_name='some_org',
)