List all Opt-Out events for a date range?

Highlighted
Occasional Contributor

List all Opt-Out events for a date range?

I read the API docs on how to get a Opt-Out list by mailing event or contact.

 

But I don't want to have to iterate over our whole list everytime I want to sync up our backend reporting systems to find who has opted-out.

 

Is there a version of the /events logic that allows me to get a collection of an event type for a date range?   Or at a minimum a list of events for a Mailing without having to specify a contact's name?

 

Shane.

1 REPLY 1
Highlighted
Employee

Re: List all Opt-Out events for a date range?

Hey Shane,

 

I am not sure that I understand your question but if you were trying to gather all the contacts that have unsubscribed you could do a get to your do-not-mail list by doing a GET to this URI:

 

https://api.constantcontact.com/ws/customers/username/lists/do-not-mail

We also let you query your contacts in a way of searching by "last updated since".  This lets you find out which contacts have been updated between one time and now. You can read more information about this here.

 

Please let me know if this helps.

Ryan Davis
Quality Engineer
Developer Portal

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

Visit Page

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured