cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Dropbox API: find the the members of single shared file

New member | Level 1
New member | Level 1

My question is in regard to Dropbox file sharing API.

Since June 2016 file can be shared with specific groups and users and external emails. Until now, specific sharing happened on the folder level.

Is there any way to retrieve the file shared members from the API? I cannot find this answer in the documentation.

Today, in my application, I am doing it for folders by callinghttps://api.dropboxapi.com/2/sharing/list_folder_members. From the response I extract the the groups and the shared members account ids. To get the information about the accounts (display name and email addresses) I am calling https://api.dropboxapi.com/2/users/get_account_batch with the ids.

2 Replies 2
Highlighted

Re: Dropbox API: find the the members of single shared file

New member | Level 1
New member | Level 1

It's currently not possible to get the members of a single shared file, but I'll be sure to pass this along as a feature request.

To your current solution: I don't think this will work. Single-shared-file members are not necessarily the same as shared folder members. You can call /list_folder (to get the contents of a folder) or /get_metadata and pass in include_has_explicity_shared_members=true, and any FileMetadata returned will tell you whether or not a file has explicit shared members in the has_explicit_shared_members field; however, it won't give you information about the actual users. 

Highlighted
Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?