I’m developing an application using the APIs. I’ve come across a problem I wonder if you can help me solve.
The first is no problem; I can update my local database, and send an API request to de-list the contact.
The second is a problem because I can see no option for a callback to my site to notify my site that a user has de-listed, and so the databases fall out of sync.
At this time, we do not have the functionality to modify the ‘safeUnsubscribe’ link in your email. However, we do offer the ability to Search for Contacts by Last Updated Date (Synchronizing Contacts). This feature allows you to query only the contacts that have been updated from a specified date. This query can be run against a list type (active, removed, do-not-mail) or an actual contact list.
For your particular use, you could use this to run a query against the ‘do-not-mail’ list type, which would present you with an XML of all of the contacts that have been placed in the ‘do-not-mail’ section from a specified date. For example, if you wanted to know which contacts have been placed on do-not-mail since April 1st 2010, you could perform an HTTP get against the following URL:
I hope this information helps. Please let us know if you have any other questions. Thanks.
I also need this functionality. Our database needs to be updated almost as quickly as contacts unsubscribe, to reflect the change on their profile page of our website.
Has anything changed since 2010 or is this still the way to do it?
How often can this query be run?
If your going to run it on a schedule I wouldnt run it more than once every few more minutes. You could do it once a minute but the results will be null for the most part. But that particular collection shouldnt be a problem to call as often as once a minute.
Hope this helps.