Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
When doing a call to https://api.dropboxapi.com/2/files/get_temporary_link to receive a temporarily link to a media file, the received URL will be like: https://dl.dropboxusercontent.com/apitl/1/..........
However, the problem I have is that this URL is setting the content-disposition: attachment Header, making it impossible to stream this content directly via the browser. Something that should be possible according to the documentation.
It also differs from the behavior of the old API v1 /media call which is setting the content-disposition: inline; header on the temporarily links (https://dl.dropboxusercontent.com/1/view/....). At that time we were able to change this behavior if needed by manually adding ?dl=1 to this URL.
Can you let me know how I can achieve the same behavior with the current API without using shared links?
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!