Forum Discussion

Niko H.'s avatar
Niko H.
New member | Level 1
11 years ago

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.1's avatar
    Rafal R.1
    New member | Level 1
    11 years ago

    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.

About Dropbox API Support & Feedback

Node avatar for 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!