Send Mailchimp request activity

⌘K

Send Mailchimp request activity

send_mailchimp_request_activity_1

Workflow phrases

send_mailchimp_request_activity_2
Parameters

Input parameters

ParametersDescriptionExample
this URLThe absolute URL of the Mailchimp API endpoint you wish to access. Audience lists: https://<dc>.api.mailchimp.com/3.0/lists
Campaign reports: https://<dc>.api.mailchimp.com/3.0/reports

Replace <dc> with your specific data center prefix (e.g., us8).
MethodThe HTTP method to use for the request, such as GETPOST, or PUT.
this API keyYour Mailchimp account’s API key, used for authentication.
these headersHTTP headers to include in the request. For example, to set the content type to JSON:
Content-Type: application/json
this requestParameters formatted as JSON, containing the data you want to send. For instance, to create a new audience list:{
“name”: “Your List Name”,
“contact”: {
“company”: “Your Company”,
“address1”: “123 Main St”,
“address2”: “”,
“city”: “Anytown”,
“state”: “CA”,
“zip”: “12345”,
“country”: “US”,
“phone”: “555-555-5555”
},
“permission_reminder”: “You’re receiving this email because you signed up for updates.”,
“campaign_defaults”: {
“from_name”: “Your Name”,
“from_email”: “you@example.com”,
“subject”: “Default Subject”,
“language”: “EN”
},
“email_type_option”: true
}
To XMLOption to convert response data to XML (Yes or No).To create a new audience list, you might send a POST request to https://<dc>.api.mailchimp.com/3.0/lists with the appropriate headers and JSON-formatted body as shown above.

Example

send_mailchimp_request_activity_3

For detailed information on methods and parameters, refer to Mailchimp’s API documentation.

How can we help?