create_webhook
Set up a webhook to receive real-time notifications for Mailchimp audience events. Configure triggers for subscribe, unsubscribe, profile updates, cleaning, and campaign actions by specifying list ID and callback URL.
Instructions
Create a webhook for audience events. Configure which events trigger the callback.
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": {
"list_id": "<list_id>",
"url": "<url>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| url | Yes | ||
| subscribe | No | ||
| unsubscribe | No | ||
| profile | No | ||
| cleaned | No | ||
| campaign | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |