cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know more about how you can find anything and protect everything? Check it out 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: Direct link to image file

Re: Direct link to image file

CarterStreaming
New member | Level 2

Do anybody know how to do a direct link for my customers for my apk

1 Reply 1

Greg-DB
Dropbox Staff

@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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?