While working with clients, one of the most popular things to do is to integrate custom forms or WordPress users with MailChimp lists. Below you will find raw PHP and WordPress examples.

Update user’s first_name, last_name and email on a WordPress website when the appropriate MailChimp data has been changed

It is a very simple tutorial on how to sync your WordPress users first and last names and emails with changes in a MailChimp account.

Delete Users from a WordPress Website once they Unsubscribed from a List

Let’s say, you provide some service for those who subscribed to a specific MailChimp list. So, when they unsubscribe, they will no more have the access to your website.

MailChimp Webhooks API – both PHP and WordPress integrations

What is a webhook? You can configure MailChimp to send notifications to a certain URL on your server when, for example, user subscribes to a list or changes his email address.

Batches in MailChimp API

Sometimes you have to process many actions with API but it would be weird if you try to request API several times at the same time. Another strange thing is trying to do it with AJAX and progress bar. Please calm down – just use batch operations.

MailChimp API 3.0 – Get All List Members

It is ok if there are not so much members in your lists. But what to do if your list contains 10000 members or more?

MailChimp API 3.0 Working with Interest Groups

Description and ready-to-use examples for working with Interest Groups. How to subscribe a user with the specific interests in MailChimp API 3.0.

MailChimp API 3.0 and WordPress HTTP API

Easy way to connect MailChimp API using WordPress default wp_remote_get() and wp_remote_post() functions.

MailChimp API 3.0 – Subscribe your WordPress users automatically

In this tutorial I will show you how to subscribe new and previously registered WordPress users to a MailChimp list automatically. Without plugins.

MailChimp API v3.0 Get Lists in PHP

You could also get only lists that include a specific subscriber’s email address, or get the lists, created in between of specific time period.

Mailchimp API 3.0 – PHP and AJAX subscription / unsubscription

Ready to use function which allows you to subscribe an email address to any of your mailchimp lists (with confirmation email or not) or unsubscribe it as well.