Hi Emily,
In case you haven't seen it, the documentation on how the Canvas API handles pagination is here: https://canvas.instructure.com/doc/api/file.pagination.html
Endpoints that return paginated results will also return a Link header that includes the URLs for other pages of results relative to the current page. Many HTTP request libraries (like the Python requests library, for example) will parse the Link header for you and make it easy to access the next/previous/first/last pages of results. The typical pattern to fetch all results is:
1. Request the first page of results
2. If the response's Link header includes a URL for the next page of results, fetch that page and add to the list returned in step 1.
3. Repeat step 2 until the response no longer contains a "next" URL in the Link header.
Hopefully this is helpful!
--Colin