MailChimp API – Add Subscriber


MailChimp moved to a 3.0 version of their API. Going forward just reference DrewM’s MailChimp API helper here.

Ever need to add a subscriber or otherwise mess with MailChimp but the MailChimp plugins are not doing it for you? Here is a basic function which I have tied into a gravity form submission.

You will also need to make sure to download the MailChimp API library. You can get it from


I recently looked into this again and noticed the MailChimp api has been updated to version 2.2. Here is an example of how to use the newer version of this api.

As a final piece of MailChimp sugar, in case you want to add the subscriber to an interest group it is actually pretty simple. You just need to add the “interests” field to the post.