Using page_size
Include thepage_size parameter to tell the API how many search or list results to show on each page.
page_size accepts a number between 10 and 100.
- If you enter a number smaller than 10, the system will return 10 results per page.
- If you enter a number larger than 100, the system will return 100 results per page.
- The default value is 25.
Using page_token
If your query returns more results than will fit on one page of the size you specified withpage_size, you’ll see a unique nextPageToken value at the bottom of the response. Include this value with the page_token parameter in your next request to see the next page of results.
You do not need to include page_token in your initial request (or you can include it but leave it empty), but you must do so for each subsequent request.
Here’s a simplified example of using page_token to navigate a list of results:
First request
First response
Second request
Second response
Third request
Third response