Generating a Mailchimp API key
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Mailchimp’s own documentation: About API keys, Marketing API quick start, and Marketing API fundamentals. Retrieved 2026-07-03.
- Sign in to Mailchimp, click your profile icon, and choose Profile.
- Open the Extras drop-down and choose API keys.
- In the Your API Keys section, click Create A Key, give it a descriptive name (Mailchimp recommends one key per integration), and click Generate Key.
- Click Copy Key to Clipboard and store the key securely, then click Done. “API keys grant full access to your Mailchimp account” — protect it like a password; per-endpoint access follows the role of the user who generated it.
- Note your server prefix (data center): it is the trailing segment of the key itself (format
key-dc, e.g. a key ending in-us6meansus6) and also the subdomain of your admin URL (https://us6.mailchimp.com/account/api/). - Call the API at
https://<dc>.api.mailchimp.com/3.0/using HTTP Basic auth with any username and the key as password (--user 'anystring:API_KEY'), or the equivalentAuthorization: Bearer <API_KEY>header. - Verify with
GET https://<dc>.api.mailchimp.com/3.0/ping— a healthy, authenticated setup responds{"health_status": "Everything's Chimpy!"}. - Keys do not expire. To revoke one: profile icon → Profile → Extras → API keys, click Revoke next to the key, type
REVOKEin the pop-up modal, and confirm. Removing a user from the account also revokes the keys they generated.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Mailchimp, and pick Mailchimp API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Mailchimp in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.