cancel
Showing results for 
Search instead for 
Did you mean: 

API Returns Incomplete Data

Participant

API Returns Incomplete Data

Whenever I retrieve my lists via the API, I only get some of them back (less than half)!!! Is there a reason for this??!!!!! Any help would be GREATLY appreciated.

1 REPLY 1
Highlighted
CTCT Employee

The API returns 50 records at

The API returns 50 records at a time. In order to retrieve the next 50 lists (or fewer depending on how many lists you have), you will need to do a request to the URI in the link node that has a rel of "next" like so:


 


 <link href="/ws/customers/{username}/lists?next=g8uf2njx-9m60ps" rel="next"></link>


 


If you getting less than 50 in your initial request please let me know and we can troubleshoot further?

Dan H

Support Engineer, Constant Contact