Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (4 votes)

75% thumbs up 25% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Is there a way to add an email to a Suppression List via the API?

You can add an email or a list of emails to the global or list-specific supression list using the XML API or the PHP API (use the attached PHP script as reference)

XML API

<xmlrequest>
<username>XML API username</username>
<usertoken>XML API token</usertoken>
<requesttype>subscribers</requesttype>
<requestmethod>AddBannedSubscriber</requestmethod>
<details>
<emailaddress>email address that you want to be banned/suppressed</emailaddress>
<listid>id of the list you want the email to be suppressed from or 'global' for all lists</listid>
</details>
</xmlrequest>



PHP API

Example script attached


Related Articles

No related articles were found.

Attachments


Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software