cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Can i list all files using secondary account.

Can i list all files using secondary account.

jk-devil
New member | Level 2
Go to solution

Hi

 

I had created a dropbox account with my company email address and also created core API with the same email. After integrating core API i just tested in another browser and authenticate with my dropbox account associated with personal email. But i can't view files with dropbox account associate with company email. I want to list all from API created account 

 

Kindest Regards,

1 Accepted Solution

Accepted Solutions

jk-devil
New member | Level 2
Go to solution
If i want to access my company Dropbox account via the API, can i signed in to another account.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

You can "link" or "authorize" an API app to connect multiple accounts. To do so, you should go through the OAuth app authorization flow for each account you want it to connect to. You can find more information on the OAuth app authorization flow in the OAuth guide.

 

At the end of the flow, your app will receive an access token for that account. When using the Dropbox API, each access token will allow your app to access one account. If you need to access two different accounts, you'll need two access tokens. (One for each account.)

 

So, if you want to access your company Dropbox account via the API, you'll need to go through the OAuth app authorization flow while signed in to that account.

 

(One shortcut is that if the app is owned by the account you want to link it to, you can use the "Generate" button on the app's page on the App Console, as noted in the OAuth guide.)

jk-devil
New member | Level 2
Go to solution
If i want to access my company Dropbox account via the API, can i signed in to another account.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    jk-devil New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?