MailChimp’s API version 3.0 has changed a bit from previous versions, but nonetheless, we can still disable the double opt-in feature.
First check out MailChimp’s documentation on their API 3.0 version and then go to the Add A New List Member Section which details the notes you need.
Scroll down to the “Status” section and you should see the following:
– Type: string
– Title: Status
– Read only: false
– Subscriber’s current status. Possible Values: Possible Values: subscribed, unsubscribed, cleaned, pending
You should pass the value “subscribed” in the API field instead of “pending”. Using “pending” will always send a double opt-in confirmation until that users confirms their subscription. By passing “subscribed” you will bypass this method.
And that should do it!
If you are looking how to disable the double opt-in using MailChimp API version 2.0 please see How to Disable MailChimp Double Opt-in for API version 2.0 and if you are looking how to disable the double opt-in using a MailChimp WordPress plugin, please see Easy Way to Disable MailChimp Double Opt-in for WordPress Plugin.