create_webhook
Set up webhooks to receive real-time notifications for specific campaign events and lead management activities in your Multilead account.
Instructions
Create a non-global webhook
This creates a webhook that listens for specific events. Non-global webhooks are scoped to specific campaigns or resources.
Args: user_id: User ID account_id: Account ID webhooks: List of webhook configurations, each containing: - url: Webhook endpoint URL - events: List of event types to subscribe to - campaignId: (Optional) Campaign ID to scope webhook to
Returns: Created webhook details
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| account_id | Yes | ||
| webhooks | Yes |