Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
johnday
2 months agoNew member | Level 2
upload file to my dropbox from python script
I want to upload a file from my python script to my dropbox account automatically. I can't find anyway to do this with just a user/pass. Everything I see in the Dropbox SDK is related to an app having user interaction. I just want to do something like this:
https://api-content.dropbox.com/1/files_put//?user=me&pass=blah
1 Reply
Sort By
- DB-Des
Dropbox Engineer
Hi johnday,
In order to interact securely with the Dropbox API, you will need to create an API app to obtain an app key and app secret. An app key and secret are needed to obtain access tokens, which can then be used for secured communication with the Dropbox API.
To upload files, you will most likely be ok sending a request to the /2/files/upload endpoint. However, if the file size is over 150MiB, you will want to look at the upload session endpoints:
Feel free to review our Developer Documentation for more information, including all other available endpoints.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,994 PostsLatest Activity: 8 minutes ago
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 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!