create_batch_webhook
Create a webhook to receive automatic notifications when your Mailchimp batch operations finish, eliminating the need to poll for status.
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.
Args: url: The callback URL Mailchimp will POST to when a batch completes (must be publicly reachable).
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 |