I can move some contacts to a list.
But cannot move unsubscribed contacts to a list. Is there any way to move the unsubscribed contact to a list?
$data_array = array( "source"=> array( "contact_ids"=> [ "1234567-111-11e9-b384-6644", //unsubscribed contact id "4545455-98c2-11e9-b384-45454545", //unsubscribed contact id "8787878787-9891-11e9-6565-656565" //unsubscribed contact id ] ), "list_ids"=> [ "6767-967c-11e9-8b2b-6767u76ff" //unsubscribed user list ] ); $entry = json_encode($data_array); AddContactsToList($access_token,$entry);
Thank you for reaching out to Constant Contact's API Support.
An unsubscribed contact cannot be on a list; only active contacts are members of a list. You would need to update the contact with a PUT and during that API call you would specify the listID that you wanted to add the contact to.
If you want to keep the contact unsubscribed then they would remain not on a list.