Check to see if a pagination cursor exists in the response, if it does use the cursor as the after param to get the next page. Keep doing that until you there’s no more results.
Check to see if a pagination cursor exists in the response, if it does use the cursor as the after param to get the next page. Keep doing that until you there’s no more results.