I have a folder which contains 100+ files, I want to shall them all and get all the shared links, is there anyway to do this?
Go to Dropbox.com, find your file, and click the Copy link button that appears when you hover over it. Or, on your desktop, right-click on the file, and select Copy Dropbox Link. Copy that link and paste it in your browser, and it should download the file directly.
To use the Dropbox API, you'll need to register a new app in the App Console. Select Dropbox API app and choose your app's permission. You'll need to use the app key created with this app to access API v2.
Dropbox supports OAuth 2.0 for authorizing API requests. Find out more in our OAuth guide. Authorized requests to the API should use an Authorization header with the value Bearer <TOKEN> , where <TOKEN> is an access token obtained through the OAuth flow.
That's DropBox API v. 1, which is now deprecated:
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
I found, for current v.2, depending on your needs:
/2/files/get_temporary_link
https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
/2/sharing/create_shared_link_with_settings
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
/2/sharing/create_shared_link
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With