We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Querying the campaign collection

Regular Participant

Querying the campaign collection

Is it possible to query campaign collection to retrieve only campaigns in some period?

For example (pseudo code):

or the only way is to retrieve all campaigns (handling rel="next" if we have more than 50 campaigns) and then locally filter the collection?


My final intention is to retrieve bounced mail addresses (contacts) in specified period.


Thanks in advance




I see what you mean.  Unfortunately there isn't a way to get a list of campaigns sent in a given time period.  We are working on version 2 of our API, and I will pass on the suggestion for that feature.


You're correct, you would have to work through the pages of email campaigns and process it on your side to get the bounces in a given time period.


Best Regards,

Shannon W.

API Support Specialist

Developer Portal

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

Visit Page