One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
coderkev
2 years agoExplorer | Level 3
Dropbox Pagination - No way to go to previous page
I am using /list_folders and /list_folders/continue to create a paginated file gallery in my Web application.
I want to make any page in this gallery shareable, for example I want to share page 3 of the gallery with someone.
To achieve this you can put the cursor from the list_folder endpoints in the URL so the person you shared the link with sees the same page. However, they will only be able to go the next page when the load that link and not the previous page.
How can I achieve forward AND back pagination on shared link that doesn't start on the first page?
Hi there!
Pagination with the Dropbox API only goes forward. You may want to have your application process all the results first and then use that data as needed in your application.
- DB-Des
Dropbox Engineer
Hi there!
Pagination with the Dropbox API only goes forward. You may want to have your application process all the results first and then use that data as needed in your application.
- coderkevExplorer | Level 3
Are there any plans in your roadmap to allow it to go backward? Processing all results at once sounds like it could create issues. May have to create a database collection of our own just to track cursors..
- Greg-DB
Dropbox Staff
No, Dropbox does not have plans to update the API to support reversing through paginated API responses.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,947 PostsLatest Activity: 15 minutes ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!