We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
jonosuave
10 months agoNew member | Level 2
Get list of externally shared files
Is there a way to query a list of all files shared externally across all users? If not, is there a way to do this on a per user level?
- iNeilDropbox Engineer
Unfortunately, there isn’t a Dropbox API endpoint that can query a list of all shared files externally across all users, but I'll shall pass this along as a feature request.
Currently we have the following Dropbox API endpoints that can list shared files received by the account, shared folders accessible to the account, shared links created by the account, and retrieve information about accounts connected to individual shared files.
Listing shared files that the account has received
- sharing/list_received_files endpoint
- sharing/list_received_files/continue endpoint
Listing shared folders that the account has access to
- sharing/list_folders endpoint
- sharing/list_folders/continue endpoint
Listing shared links that the account has created
- sharing/list_shared_links endpoint
Listing accounts connected individual shared files
- sharing/list_file_members/batch endpoint
- sharing/list_file_members/continue endpoint
Please note that to locate files shared with other accounts, you will need to implement the /2/files/list_folder and /2/files/list_folder/continue endpoints with the parameter include_has_explicit_shared_members: true.
Based on the above endpoints you should be able to execute them on behalf of your team members individually by passing a Dropbox-API-Select-User HTTP header with the team_member_id to act as a specific member.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 21 days agoIf 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!