pub async fn add_webhook(
configuration: &Configuration,
add_webhook_request: Option<AddWebhookRequest>,
) -> Result<WebhookResponse200, Error<AddWebhookError>>
Expand description
Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - event_action
and event_object
. E.g., use *.*
for getting notifications about all events, added.deal
for any newly added deals, deleted.persons
for any deleted persons, etc. See <a href="https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference" target="_blank" rel="noopener noreferrer">the guide for Webhooks for more details.