Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Tribecube T.
10 years agoNew member | Level 1
How can I check if a link to a file is still valid or not?
After getting a preview link from the Dropbox Chooser (something like https://www.dropbox.com/s/d5hn63asdasd/asdasdasd.png?dl=0) how can I check at a later time that the resulting link is still valid...
Greg-DB
Dropbox Community Moderator
10 years agoThe "preview" link type isn't meant for programmatic access, so unfortunately there isn't a good solution here. That being the case, the "direct" link type might work better for you, as it does return file content directly, and responds with the expected errors codes in these cases. They do expire after four hours though.
Alternatively, though this isn't documented and may break, you can modify these links as such:
https://dl.dropboxusercontent.com/s/d5hn63asdasd/asdasdasd.png
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!