create_webhook
Set up webhooks to receive notifications for specific events in Multilead campaigns or resources, enabling automated responses to platform activities.
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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>",
"account_id": "<account_id>",
"webhooks": "<webhooks>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| account_id | Yes | ||
| webhooks | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||