We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
khatech
3 years agoExplorer | Level 3
get photo link to bank
Hello, I need help, how can I get the link of a photo uploaded to store in the database?
- MarkSuper User II
You can get a shared link to documents via https://help.dropbox.com/files-folders/share, however if its to a bank you may want to ask and speak to them about what format they'll accept - many wont take links via File sharing sites for example
- khatechExplorer | Level 3
I understood,
my goal is to have a link that can view the image, this link will serve to attach image to a whatsapp message- Greg-DBDropbox Staff
In that case, note that by default, shared links point to a HTML preview page for the file, but if you need direct file data access, you can modify the links as shown here.
- Greg-DBDropbox Staff
khatech Also, since you posted this in the API section, if you want to create a shared link programmatically, you would use /2/sharing/create_shared_link_with_settings. To retrieve existing shared links, use /2/sharing/list_shared_links.
By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours agoIf 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 or Facebook.
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!