We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

venkateshVenkat's avatar
venkateshVenkat
Explorer | Level 3
7 years ago

Generate file links manually

Hello community,

Recently I was working in an project,where they are integrating Dropbox in their app.
I had a requirement where I need to get the links of files available in the Dropbox and display the links to the users.So when they click on this link it will redirect them to the corresponding documents.

The issue I faced was, there is no API endpoint to get a permanent link.

I also found that we can generate temporary link,but it will only download the files not redirect.

I can use shared URL,but my client is not satisfied with that approach.

I am planning to construct my own URL from the files obtained. Will this approach work .
Waiting for you suggestions
  • It sounds like you're trying to construct links to files in the Dropbox web site. Unfortunately, as this isn't part of the Dropbox API, the link format is subject to change without notice, and so is liable to break. That being the case, I don't recommend doing this. I don't have a good solution I'm afraid, but I'll pass this along as a feature request.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    It sounds like you're trying to construct links to files in the Dropbox web site. Unfortunately, as this isn't part of the Dropbox API, the link format is subject to change without notice, and so is liable to break. That being the case, I don't recommend doing this. I don't have a good solution I'm afraid, but I'll pass this along as a feature request.

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 years ago
323 Following

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!