The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Can we retrieve the date that a contact was added to a particular list using the API?

Highlighted
New Member

Can we retrieve the date that a contact was added to a particular list using the API?

Our app syncs over emails from CC but we are having an issue. We only want to bring over users after date X but it seems that when an email is added in CC to another list, our app looks at that updated date.

 

Is there a way to only look at the created date for list X in CC?

 

Also is there a way to disregard that upated date?

 

Thanks!

1 REPLY 1
Highlighted
Honored Contributor

Re: Can we retrieve the date that a contact was added to a particular list using the API?

Hello,

 

Unfortunately it is not possible in the current version of the API to get a specific date for when a contact was added to a specific list. While you are able to get the date that a contact was modified as you mentioned, that includes a variety of things, not just a single list.

 

However, having siad that the API does provide a way to view only members of a specific list, and that can be filtered by the date that contact was last modified. This date could be triggered by a contact also being a member of another date, but it would allow you to filter it does to only contacts that are members of the target list. You can read about that API endpoint here: http://developer.constantcontact.com/docs/contact-list-api/contactlist-membership-collection.html

 

Please let me know if you have any questions!

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured