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: 

How to get all list(data and folders from dropbox.com/home on api

How to get all list(data and folders from dropbox.com/home on api

le h.
New member | Level 1

I don't see any your api support to get all data(and folders) frm dropbox.com/home

3 Replies 3

le h.
New member | Level 1

Add a problem.

https://api.dropboxapi.com/2/files/list_folder?access_token=....

This address did not running.

Greg-DB
Dropbox Staff

The URL dropbox.com/home corresponds to the root of a Dropbox account. To list the root of a Dropbox account using Dropbox API v2, you would use the /files/list_folder and /files/list_folder/continue endpoints. The path parameter to represent root should be the empty string: ". For example, calling /files/list_folder with curl would look like this:

curl -X POST https://api.dropboxapi.com/2/files/list_folder \
--header "Authorization: Bearer ACCESS_TOKEN_HERE" \
--header "Content-Type: application/json" \
--data "{\"path\": \"\"}"

 

le h.
New member | Level 1

But I use json to get data . I was trying to https://api.dropboxapi.com/2/files/list_folder?access_token=.... but don't run. Where is wrong?

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    le h. New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?