Join the Conversation: The Dash Community Is Now Open! ✨🎉
Forum Discussion
le h.
10 years agoNew member | Level 1
How to get all list(data and folders from dropbox.com/home on api
I don't see any your api support to get all data(and folders) frm dropbox.com/home
3 Replies
Replies have been turned off for this discussion
- le h.10 years agoNew member | Level 1
Add a problem.
https://api.dropboxapi.com/2/files/list_folder?access_token=....
This address did not running.
- Greg-DB10 years ago
Dropbox Community Moderator
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.10 years agoNew 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?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!