Does anyone know how to paginate through an API call (like /users)? Or, how do I change the result count so that I can grab more that 20 rows at a time?
Solved
How to paginate API calls
Best answer by EStapf_iiQ
Hi
Use two query parameters appended to the URL to paginate and adjust the record count:
-
$p(Page Number): Controls which page of results to retrieve using a zero-based index (0for page 1,1for page 2, etc.). -
$s(Page Size): Controls how many rows to return per request (defaults to 25, with a maximum recommended limit of 1000).
Example Usage
-
Fetch 100 rows per page (Page 1):
/users?$s=100&$p=0 -
Fetch the next 100 rows (Page 2):
/users?$s=100&$p=1
Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

