We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
metaclay
5 years agoNew member | Level 2
Get link to my images using filename not by dropbox-generated ID.
Hi i'm trying to make my personal dynamic web. Where i need to get access to my images stored in dropbox. But i need to get the link by its filename , not by ID generated by dropbox. I'm storing my ...
Greg-DB
Dropbox Community Moderator
5 years agoTo get a (non-temporary) shared link via the Dropbox API, you can call the /2/sharing/create_shared_link_with_settings endpoint. You will need to identify the desired file in Dropbox, which you can do by file path or ID. You can modify the resulting links for different behaviors if needed.
To make that call, if you are able to construct the Dropbox file path directly from the filename information you have stored in your database, you can do so that way. Otherwise, you could use the /2/files/list_folder[/continue] endpoints to list the contents (including paths and IDs of files) under any particular path
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!