Unable to re-subscribe an unsubscribed user

I'm trying to accomplish the following through the API:

1) add a subscriber to a list
2) unsubscribe that subscriber from the list
3) add the subscriber back to the list

I can't seem to accomplish step 3 via the API. I can through the website, but there's an extra confirmation step. Are you doing something to prevent moving someone from "unsubscribed" to "subscribed" for any reason? I need this functionality in order to keep my system in sync with yours.

I'd also like to be able to "manually delete" a user via the API. Is this possible?

- Trevor

trevorturk, 8 years ago

I've got it. I needed Subscriber.add_and_resubscribe (using the Ruby gem).

travisbell travisbell, 8 years ago

Yup, you got it man ;)

Travis Bell

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

Get started for free