Discuss Dropbox Developer & API
Hello everyone,
I'm learning a Dropbox API basics and I have a question about it. Can I allow API requests only for a specific folder? For example, Dropbox App can do everything inside `/api/` folder, but It can't manipulate files outside of it. How can I achieve it?
Thanks.
The Dropbox API unfortunately doesn't offer a way to register an app or access token for access to a specific existing folder only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
The closest thing currently available is the "app folder" permission. That would limit any access tokens for your app to a special app folder created for your app; it can't be set to a pre-existing folder though, nor can the special app folder be made into a shared folder, or contain or be contained in a shared folder. For accounts using the English locale, the app's app folder gets created by default inside the "/Apps" folder.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!