create_global_webhook
Set up webhooks to receive notifications for events across all campaigns and resources in your Multilead account, enabling real-time data synchronization and automated workflows.
Instructions
Create a global webhook
This creates a webhook that listens for events across all campaigns and resources in the account.
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
Returns: Created global webhook details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| account_id | Yes | ||
| webhooks | Yes |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"type": "string"
},
"user_id": {
"type": "string"
},
"webhooks": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
}
},
"required": [
"user_id",
"account_id",
"webhooks"
],
"type": "object"
}