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.

Limiting the number of contacts returned

Highlighted
Advisor

Limiting the number of contacts returned

Hi, using the following string one can pull up to 50 contacts at a time:

'https://api.constantcontact.com/ws/customers/{username}/contacts

 

What I'd like to do for testing purposes is limit this to pulling only 5 contacts at a time so I can test the whole "next" business.  Is there some undocumented parameter that one can pass (such as (limit=5) ) to accomplish this?  I saw nothing under the REST API that talked about this but was hoping that something did in fact exist.

 

Thanks!

 

Chris

Tags (1)
2 REPLIES 2
Highlighted
Employee

Re: Limiting the number of contacts returned

While this is certainly something we have discussed implementing, unfortunately we do not have the ability to control the page size returned from the contacts collection using query parameters at this time. We will certainly update our documentation if/when this becomes available, but I am not able to provide even a rough estimate of when this would occur. I apologize for any inconvenience that this has caused. Please let us know if you have any questions or concerns regarding this.

David J

Highlighted
Advisor

Re: Limiting the number of contacts returned

Okay.  Thank you for your quick reply...

 

Chris

Tags (1)
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