cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

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: 

Re: get email addresses of members of your shared_folders

get email addresses of members of your shared_folders

Daniel L.20
Helpful | Level 6

According to documentation, you can get a list of members on a shared folder with https://api.dropbox.com/1/shared_folders/<id>
and the response will contain:
"members": [
{
"user": {
"uid": 87654321,
"display_name": "Jane P. User",
"same_team": true,
"member_id": "dbmid:abcd1234"
},
"role": "owner",
"active": true
},
...

Is there any way to determine the email address of that user? (eg- from the uid for that user) Note that this is information that is available to the folder owner via the Dropbox web interface.

27 Replies 27

Greg-DB
Dropbox Staff

Unfortunately I don't know if/when this may be added to API v2.

Bogdan I.
New member | Level 1

Any updates on this ?
It's been almost a year... this should be a simple feature to implement.

Greg-DB
Dropbox Staff

No update on this.

Sinyshnar
New member | Level 2

Hi,

 

I am joining this conversation as this would be really usefull. I cannot understand such a simple feature hasn't been migrated from v1 to v2.

 

Please keep us posted 🙂

Daniel L.20
Helpful | Level 6

Since v1 api is now deprecated, had to transition to v2.  You can get a list of shared folders' members' emails, but now it requires multiple calls (with loops):

 

To get all shared folders:

https://api.dropboxapi.com/2/sharing/list_folders

in order to find the shared_folder_id of a specific folder by name.

 

To get all members (users) on a shared folder:

https://api.dropboxapi.com/2/sharing/list_folder_members

in order to find the account_id of each user.  This now has separate arrays for users who have accepted the share vs those who have merely been invited.

 

To get the email address for a user:

https://api.dropboxapi.com/2/users/get_account

makkc
New member | Level 2

https://api.dropboxapi.com/2/sharing/list_folders

 

Newb question?  

 

As this doesn't work, for me, as a direct cut and paste, can anyone point me in the direction of a guide to do this?

 

At persent I'm faced with cutting and pasting >50 emails and names from a small online window or alternatively starting again.

Greg-DB
Dropbox Staff

@makkc I don't believe we have a guide/full working example for this specific functionality. This is an old thread with a lot of subscribers though, so please open a new thread with what you have so far and what isn't working for you so we can help with your code.

makkc
New member | Level 2

Thanks for the quick reply.  I've just solved the immediate problem by doing it longhand.

 

The probelm for me arose when needing to verify the email list of people sharing a folder with a consent process when then folder in question was beginning to hold data coming under GDPR.  This is probably a 'business user' issue but even small organisations and groups can be affected by this legislation.

 

Therefore the more general question is has Dropbox stared to consider any tools for this? I'll search for a GDPR thread.

Need more support?