cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App 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: 

Re: 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?