cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

is the files/list_folder endpoint only available with token not with the key/secret pair?

is the files/list_folder endpoint only available with token not with the key/secret pair?

ivan006
Helpful | Level 6

i want to make an app that has unwavering access to a dropbox folder but it seems it only can use "files/list_folder" with an quick to expire token.

1 Reply 1

Greg-DB
Dropbox Staff

The /2/files/list_folder endpoint only supports "user authentication", meaning it does require an access token. It does not support calling just using an app key/secret. 

 

It sounds like you're probably using an access token retrieved via the API Explorer though. The API Explorer has early access to an upcoming feature where an app can retrieve access tokens that are short-lived. If you use your own app to get an access token instead, e.g., via the OAuth flow, or just by clicking the "Generate" button on the app's info page on the App Console, that access token won't expire by itself, so you can store and re-use that long term instead.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?