You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

maulikkansara's avatar
maulikkansara
Explorer | Level 3
7 years ago

How to Manage Multiple Dropbox accounts on one PC

I am using Dropbox API to integrate Dropbox features in one of my developing windows application.

Now the scenario is like, I have one business account and one private account configured in my computer. 

Now I want to develop a feature which can get a list of dropbox accounts configured in a computer so that application can ask the user to select preferred Dropbox account to  use into the application.

 

Now how can i get the list of configured dropbox accounts through Api or any other way?

  • Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically

    That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically

    That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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!