Discuss Dropbox Developer & API
I have one app created in my dropbox developer console, Currently, this app allows a user to connect the Business account, but I also want enable Individual users to connect their dropbox with my app, Is it possible with one single app or do I have to create separate apps for both?
In that case, it sounds like you do want access to both Dropbox Business API functionality (to list and access all members of the team) if it is a Business team, as well the Dropbox API functionality, if it's not a Business account. In that case, yes, you would need to register and use two apps: a Dropbox Business API app as well as a Dropbox API app.
Exactly how you should set this up depends on what exactly you want to enable for your app.
If you want any kind of Dropbox account to each be able to connect to your app, you should register a "Dropbox API" app with the "app folder" or "full Dropbox" permission. Whether or not the end-user has a Business account, they will be able to connect to that app, and use the Dropbox API functionality.
If you want to access the Dropbox Business API, for functionality specific to Dropbox Business accounts, you would need to register a "Dropbox Business API" app. Only Business teams would be able to connect to that.
(It's only if you wanted both, i.e., the individual access for any kind of account, in addition to the Business-specific functionality access for just Business teams, would you need to register both types.)
You mean I will have to create two apps in my app console? One for Individual users and one for Business users
This depends on what piece(s) of functionality you want exactly. Can you elaborate on what you want to build?
For example, if you just want to interact with the files in the end-user's account, you just need one "Dropbox API" app with the "app folder" or "full Dropbox" permission. That can be used by both Business and non-Business accounts.
Okay let me explain what my app is doing, If a user has a business account and they signup into my app then my app would store the information of all team members to provide multi-user sign-in functionality, and all user should be able to interact with files and folders on dropbox, but if a user has an individual account then there will be simple file interaction of a single user.
Basically, if a user have a business account My app will surely make use of business API but if it's an individual user account it will make simple use of Dropbox API
In that case, it sounds like you do want access to both Dropbox Business API functionality (to list and access all members of the team) if it is a Business team, as well the Dropbox API functionality, if it's not a Business account. In that case, yes, you would need to register and use two apps: a Dropbox Business API app as well as a Dropbox API app.
Hi there!
If you need more help you can view your support options (expected response time for a 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!