Forum Discussion

indrabhusanroy's avatar
indrabhusanroy
New member | Level 2
5 years ago

Dropbox App credentials

Hi, I need to integrate dropbox with a Php Script where it is asking for dropbox Access token and Root Directory. So I created a app and got the access token but what is the root directory?

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    It sounds like you're trying to configure a pre-made script, so exactly what you should supply will depend on how the script works and what you want it to do. That being the case, I can't exactly tell you what you would want to put in. You may want to refer to the documentation or support resources for the script for more information on configuring it.

     

    On the Dropbox API side of things, API apps can specify a path when making an API call. When referring to the root folder itself, the Dropbox API expects the app to supply the empty string "". Or, for some other directory, it could specify a path like "/folder".

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!