We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
CarterStreaming
3 years agoNew member | Level 2
Re: Direct link to image file
Do anybody know how to do a direct link for my customers for my apk
1 Reply
- Greg-DB3 years ago
Dropbox Community Moderator
CarterStreaming To clarify, are you a developer using the Dropbox API, and wish to programmatically create a temporary direct link to a file in the connected Dropbox account? If so, you can use the /2/files/get_temporary_link endpoint. If you're using Java, we recommend using the official Dropbox Java SDK, in which that endpoint is available as getTemporaryLink. For a non-temporary shared link, you can instead use /2/sharing/create_shared_link_with_settings which is createSharedLinkWithSettings in the Java SDK and modify it for direct access as covered here.
Otherwise, if you want to manually get a shared link, refer to this help center article for information on how to create shared links, and this one for information on how to modify it for direct access.
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!