Using the "Next" link when getting contact reports

RaviM44
Campaign Expert
0 Votes

When generating a report by calling "/reports/email_reports/" endpoints, there is a _link that appends to pull the next chunk from the server. What is the proper way to use this in a Rest call?

1 REPLY 1
Courtney_E
Employee
0 Votes

Thank you for reaching out to Constant Contact API Developer Support, and for your patience. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

Our API returns results in a paginated output. The response will include a URL that you then make another call to in order to get the next page of data. You would do this until you no longer get a "next" url.

 

Please see this page in our documentation for details:

https://v3.developer.constantcontact.com/api_guide/v3_technical_overview.html#paginated-output


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up