Zorrocaesar
Zorrocaesar

Reputation: 748

Dropbox API direct account access

I have been studying the documentation for the Dropbox API but I couldn't find a way to directly access an account without going to the OAuth process. Is there a way to achieve that?

My final goal is to have a webpage with a list of files and folders from a specific Dropbox account (my own), which can be viewed and downloaded by anyone.

Upvotes: 5

Views: 640

Answers (2)

Samuel Neff
Samuel Neff

Reputation: 74909

New answer, 9 years later, so probably new changes.

When you create an app in Dropbox, the settings page has a button to Generate Access Token. This will create a permanent token to access your own account without going through the oauth flow.

Dropbox app settings

Upvotes: 0

Greg
Greg

Reputation: 16930

To access a user's Dropbox account via the API, your app will need to be authorized by the user. The Dropbox API currently requires that this authorization be done via the OAuth flow. You only need to perform this step once per user though, as you can store and reuse the access token for each user.

It sounds like you intend to use only one account though (your own), so you can just process this flow once manually yourself, and save and reuse the access token programmatically.

Upvotes: 4

Related Questions