2025 sparked some incredible conversations across our community 👩💻. Discover the highlights and see what’s ahead in 2026.
Forum Discussion
Varinder Singh
4 years agoNew member | Level 2
Unable to access all files filepaths that exists in a folder through dropbox API using PHP, CURL
Hello, I am integrating the dropbox api on my website and I want to access the imagefile path to store through php with curl. I have used two endpoints for this.
1) https://api.dropboxapi.com/2/files/list_folder
- To access all the filenames of the particular path mentioned in as a parameter.
2) https://api.dropboxapi.com/2/sharing/get_shared_links
- To access the image file path by filename to store on my website.
Also sometimes getting has_more false and links with empty array.
But i am getting only 2 files with path and not getting all files as i needed.
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access token(s)
- the full text of the unexpected output
- a sample of the output you do expect to get
Also, note that /2/sharing/get_shared_links is deprecated. Please migrate to using /2/sharing/list_shared_links instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!