cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generate file link with expiry

Generate file link with expiry

Ellis01
New member | Level 2

Hi everyone, how can I generate a preview link with an expiry for a file to embed it on my website?

1 Reply 1

iNeil
Dropbox Engineer

Hi @Ellis01,

If you would like to render and preview a file from your Dropbox account on your website, you can create a shared link for the file and add the 'raw=1' option to the URL.

- How to force a shared link to download or render

You can also set an expiration date for your shared links to control their accessibility within a specified timeframe.

- How to set expiration dates for your shared links

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    iNeil Dropbox Engineer
What do Dropbox user levels mean?