Skip to main content

register_webhook

Function register_webhook 

Source
pub fn register_webhook(
    provider_id: &str,
    config: &Value,
    tenant: &str,
    team: Option<&str>,
) -> Option<Value>
Expand description

Register a webhook for a provider based on its setup answers.

Supports: Telegram, Slack, Webex. Returns Some(result) with status JSON, or None if the provider doesn’t need webhook registration.