Using the "Next" link when getting contact reports

RaviM44
Home & Building Services

Using the "Next" link when getting contact reports

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
Moderator

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.
API Support Specialist

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.
Developer Portal

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

Visit Page