API ListSubscribers

nemesis82

Active Member
Hello,
I've tried to export all subscriber through API but, also adding a big number in $perPage or completely remove them, the maximum export of subscribers is 50 row.
Below an example :
$response = $endpoint->getSubscribers('dt925c9g9g941', $pageNumber = 1, $perPage = 1000000);
$response = $endpoint->getSubscribers('dt925c9g9g941');

There is a way to export all subscribers from a list ?

I'va forgotten, I solved with a for loop but there is a native way?
Thanks
 
Last edited:
It's 50 for a reason :)
You should write your export functionality to get 50 subscribers at once for each iteration, till you have to more subscribers to download.
Since this is a time consuming task, you should also do it from command line, not from the web server via the browser.
 
Back
Top