How to add and delete the same user to a list several times

Hi,
I am new to the api.

We have a website where users can add and remove themselves from a news list.
I have just added code to the website to automatically update a campaign monitor list.

My problem occurs if a user adds himself/herself to a list and then removes himself from the list and then tries to add to the list again.

Under these circumstances we get the following error:

error code:205 message: Email Address exists in deleted list. Subscriber is not added.

Is there anyway round this? If a user is removed from a list can the same user never be re-added?

Thaks in advance.

Niall

roshodgekiss roshodgekiss, 4 years ago

Hey there Niall, thank you so much for using our API. You can resubscribe a previously deleted subscriber by setting the parameter, "Resubscribe" to "true" in the request. Here's our usage docs on this.

If you have any questions about the above, be sure to let us know. All the best!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
elvisisbrill, 4 years ago

Thanks roshgekiss, maybe I should try reading the documentation more!

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098