Curious about A, B, C, and D drives? Learn what they mean and how to use them effectively with Dropbox in this handy guide! - check it out now!

Forum Discussion

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

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.