Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello, I need help, how can I get the link of a photo uploaded to store in the database?
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
- - - -
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
@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.
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
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.
this is exactly what i need, a link to an html with the image, however, it's not working for me, i already had a good look at the documentation, but for some reason, the shared link doesn't work
@khatech Can you elaborate on what you mean when you say "the shared link doesn't work"? For instance, please share:
the problem with the link is that when clicking it asks you to log in, so I need a link that when pasting it in the browser it makes the image preview.
Thank you for your help
@khatech It sounds like you might be referring to shared link permissions. Check out the help center for more information on configuring shared link permissions.
Otherwise, please share the rest of the requested details if you need technical support.
Hi, got it, thanks for the feedback.
Hi there!
If you need more help you can view your support options (expected response time for a 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!