Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
akagupta
7 years agoNew member | Level 2
How to get the root folder name of dropbox account through API?
How to get the root folder name of dropbox account through API? I can see for basic account it is "Dropbox". When i link it to team account, its "Personal". For team accounts the name is something...
Greg-DB
Dropbox Community Moderator
7 years agoThat "Personal" label isn't an actual folder path. It's just the label shown in the UI to help the user identify the account. When using the API to identify files and folders in the account, you don't need to include "Personal" or "Dropbox". For example, a path to a file would just look like "/Getting Started.pdf".
You can identify the type of account from the FullAccount.account_type field returned by /2/users/get_current_account though:
https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account
If it's "basic" or "pro", that would be labeled "Personal" on the Dropbox web site.
Likewise, you can use FullAccount.root_info to see what kind of root the account has.
akagupta1
7 years agoExplorer | Level 3
Thanks Greg. The info you shared is really helpful.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!