cancel
Showing results for 
Search instead for 
Did you mean: 

Unsubscription oauth2 API is not working. IS any update required

Highlighted
Occasional Contributor

Unsubscription oauth2 API is not working. IS any update required

Hi,

 

$unsub_string = "Email Address"."\n";
$unsub_string .= $unsub_users;
$lists = "http://api.constantcontact.com/ws/customers/".$objCC->prtl_usr."/lists/".$cc_list_id;
$BeforeEmailAddress = "activityType=REMOVE_CONTACTS_FROM_LISTS&data=";
$ConstantContact = new ConstantContact('oauth2',$objCC->prtl_api_key,$objCC->prtl_usr,$objCC->prtl_token);
$remove_string = $BeforeEmailAddress.urlencode($unsub_string).'&lists='.urlencode($lists);
$return_sub = $ConstantContact->bulkAddContacts($remove_string);

 

This is my code but this is not unsubscribing the user from my list. All parameters i printed and all are filled with corrent data. So please guide me what i needed Now or what i missed. It's PHP code

2 REPLIES 2
Regular Advisor

Re: Unsubscription oauth2 API is not working. IS any update required

Hello,

 

Thanks for posting in the forums.  We are currently experiencing an issue with causes valid bulk remove contacts to fail on both the v1 and v2 APIs.  Unfortunately, I don't have a timeline for when the bug will be fixed.  I'll provide updates here when I get some more information.  Sorry for the inconvenience.

 

Regards,

 

Andrew B.

Constant Contact, API Support

Highlighted
Occasional Contributor

Re: Unsubscription oauth2 API is not working. IS any update required

Can I get Estimated Time for Bug Fix, Like one month, two month or 6 month. So that i could work accordingly?