Marketing API Quick Start
At a glance
Create an account
Generate your API key
Navigate to the API Keys section of your Mailchimp account. Click Create New Key and give it a descriptive name that will remind you which application it’s used for. Copy the generated key immediately and store it in a secure location. You won’t be able to see or copy the key once you finish generating it.
Install the client library for your language
Install your client library
# No client installation necessary; just using curl
Make your first API call
Make your first API call
# install jq: https://stedolan.github.io/jq/download/ dc="YOUR_DC" apikey="YOUR_API_KEY" curl -sS \ "https://${dc}.api.mailchimp.com/3.0/ping" \ --user "anystring:${apikey}" | jq -r
Ping endpoint response
{ "health_status": "Everything's Chimpy!" }
Next steps