Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Sakhraoui
7 years agoNew member | Level 2
let people upload into our folder using API
Hi
We have a web app in which we want ceople to upload their files into a folder in OUR PRO ACCOUNT (an other account) using API:
for example, we will create a folder ALL_FILES under our pro account, then we need an API to let people upload files into this folder via our web app
please, we need your help to do that task
yhank you!
1 Reply
- Greg-DB7 years ago
Dropbox Community Moderator
The Dropbox API does offer the ability to programmatically upload files. For example, you can do so using /2/files/upload:
https://www.dropbox.com/developers/documentation/http/documentation#files-upload
That's a link to the documentation for the HTTPS endpoint itself, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
Note that the API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.
However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account and app. (Just be careful not to revoke it, e.g. via https://www.dropbox.com/account/connected_apps .)
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!