Limiting the number of contacts returned

ChrisC37
Member

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

2 REPLIES 2
David_J
Employee

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

Okay.  Thank you for your quick reply...

 

Chris

Developer Portal

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

Visit Page