create_batch_webhook
Set up a callback URL to receive notifications when Mailchimp batch operations finish, eliminating the need to poll for status updates.
Instructions
Create a new batch webhook that notifies a URL when batch operations complete.
Use to receive callbacks when batch jobs finish instead of polling get_batch_status. Use update_batch_webhook to change the URL later and delete_batch_webhook to remove it.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes.
Args: url: The callback URL Mailchimp will POST to when a batch completes (must be publicly reachable). account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.
Returns: JSON with id (new batch_webhook_id), url, enabled (boolean). Returns an error object if the URL is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |