One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Jackaroo
5 years agoExplorer | Level 3
Python API - Find out who uploaded file to shared folder
Hi,
I've been looking through the documentation for the python API but I'm unable to find a function that will allow me to find out who uploaded a file to a shared folder. Does anyone know if it's possible to do this? I am able to see who uploads a file on the dropbox dashboard in a browser, so I assume this functionality must be here somewhere.. Any help greatly appreciated :slight_smile: Thanks!
You can get the account ID of the account that last uploaded the file in FileSharingInfo.modified_by. For instance, you can get that from FileMetadata.sharing_info as returned by files_get_metadata or files_list_folder/files_list_folder_continue.
You can get more information about a particular account based on an account ID using users_get_account.
- Greg-DB
Dropbox Staff
You can get the account ID of the account that last uploaded the file in FileSharingInfo.modified_by. For instance, you can get that from FileMetadata.sharing_info as returned by files_get_metadata or files_list_folder/files_list_folder_continue.
You can get more information about a particular account based on an account ID using users_get_account.
- JackarooExplorer | Level 3
Hi Greg,
Apologies I didn't respond sooner. I got this working with your help! Thank you :grinning: I'm not sure how I missed this when looking through the documentation...
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days 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!