We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Niko H.
11 years agoNew member | Level 1
Set expiration of streamble link via /media
Hey there,
I'm using the Dropbox PHP SDK to create a streamable link via the /media API reference, by calling createTemporaryDirectLink($path) in PHP.
Is there any chance to influence the lifetime of the link I get? Or at least something to doublecheck how long the created link will be available?
Would be awesome!
Thanks in advance,
Niko
12 Replies
Replies have been turned off for this discussion
- Rafal R.111 years agoNew member | Level 1
Ah I did no know that. I will try the share option and convert the URL to the long expiry one. Do you know how long they stay alive for?
I'm basically trying to get a direct URL for an image which will last longer than 4h. 6 months - 1 year trough your API.
- Greg-DB11 years ago
Dropbox Community Moderator
Shared links are valid until the user revokes them, either explicitly via https://www.dropbox.com/links or implicitly by moving or deleting the file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!