Skip to main content
A Webhook represents an integration endpoint for delivering alert notifications to external systems like Slack, Microsoft Teams, or custom HTTP endpoints. Webhooks enable real-time alert delivery to team communication tools.

Attributes

Human-readable name for the webhook. Should be descriptive and indicate the target system or team.
The webhook endpoint URL provided by the external system. This is the destination where alert notifications will be sent.
The webhook provider type (WebhookProvider). Determines message formatting and delivery method.
Unique identifier assigned after creation
Timestamp when the webhook was created
Timestamp when the webhook was last modified

Example

Webhook URLs are sensitive credentials that should be kept secure. The provider type determines how messages are formatted and delivered. Test webhooks thoroughly before using them in production alert rules.
Initialize a Webhook instance. Creates a webhook configuration for integrating external notification systems with Fiddler alert notifications. The webhook defines where and how alert messages should be delivered to external platforms.

Parameters

str
required
Human-readable name for the webhook. Should be descriptive and indicate the target system, team, or purpose (e.g., “ml-team-slack”, “critical-alerts-teams”).
str
required
The webhook endpoint URL provided by the external system. This is the destination where Fiddler will send HTTP POST requests with alert notification payloads.
WebhookProvider | str
required
The webhook provider type (SLACK, MS_TEAMS, or GENERIC). Determines message formatting, payload structure, and delivery method for optimal integration with the target platform.

Example

After initialization, call create() to register the webhook with the Fiddler platform. Webhook URLs are sensitive and should be kept secure.

classmethod get()

Get the webhook instance using webhook id

Parameters

UUID | str
required
UUID belonging to the Webhook

Returns

Webhook object

classmethod from_name()

Get the webhook instance using webhook name

Returns

Webhook

classmethod list()

Get a list of all webhooks in the organization

Returns

Iterator[Webhook]

create()

Create a new webhook. Reads name, url, and provider from this instance (set when the Webhook was constructed).

Returns

Created Webhook object.

update()

Update an existing webhook.

delete()

Delete an existing webhook.