Add webhook
Create a new webhook for a specific list.
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
list_id
The unique ID for the list.
Request
This endpoint expects an object.
events
The events that can trigger the webhook and whether they are enabled.
sources
The possible sources of any events that can trigger the webhook and whether they are enabled.
url
A valid URL for the Webhook.
Response
_links
A list of link types and descriptions for the API schema documents.
events
The events that can trigger the webhook and whether they are enabled.
id
An string that uniquely identifies this webhook.
list_id
The unique id for the list.
signing_enabled
Whether outbound deliveries are HMAC-signed.
sources
The possible sources of any events that can trigger the webhook and whether they are enabled.
url
A valid URL for the Webhook.
signing_secret
The HMAC signing secret. Returned exactly once at creation. This should be stored securely; if lost, delete and recreate the webhook to obtain a new secret.