Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Realize Mailchimp Double-Opt-In with API 3.0

Tags:

mailchimp

I´m looking for a comfortable way to realize double opt-in via mailchimp API 3.0. It looks like there was an option in version 2.0 which told mailchimp to send an opt-in confirmation email automatically as soon as a new member is added via API call.

It seems this parameter is not available any more in API 3.0. Has anyone an idea how to realize it with the new version of the API?

like image 354
Michael Avatar asked Jul 06 '15 16:07

Michael


People also ask

How do I enable double opt-in Mailchimp?

Click the Manage Audience drop-down and choose Settings. Click Audience name and defaults. Under Form Settings, check or uncheck the box next to Enable double opt-in as needed.

How do you implement double opt-in?

To set up a double opt-in in Sendinblue, start by navigating to the “Contacts” tab on the left menu, then click on “Forms.” From there, you'll need to select which form you want to use for your double opt-in. You can either select a form that you've already created or start a new one from scratch.


1 Answers

When using Double Opt In on a list, people who have filled out your signup form will have an API status of pending until they confirm their subscription.

In order to mimic that functionality in API v3.0, set the user's status to pending instead of subscribed in your POST call. See How to Manage Subscribers for more details.

like image 174
TooMuchPete Avatar answered Sep 17 '22 10:09

TooMuchPete