using api to move bounced email address into the do not mail list

Regular Participant

using api to move bounced email address into the do not mail list

Hi, does anyone know how to use the api to move bounced email addresses into the do not mail lsit

 

thanks

 

 

1 REPLY 1
Employee

Hey,

 

You can do so but it may not be the best practice to follow.  You would just do a get to your get to a specific campaign ID and append /events/bounces and that will return the bounces from that campaign in the xml.  You would then have to do a foreach to do a search for each contact and then do a get to that contacts contactID.  Once you receive the ID you can do a DELETE to it and it will move into the DNM list. 

Ryan Davis
Quality Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page