Michael
Michael

Reputation: 3238

Realize Mailchimp Double-Opt-In with API 3.0

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?

Upvotes: 49

Views: 16361

Answers (1)

TooMuchPete
TooMuchPete

Reputation: 4643

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.

Upvotes: 141

Related Questions