Our Community is in read-only mode until April 8th, learn more here. You can still search existing threads or get help via Dropbox Support, the Dropbox Help Center, or Learn.
Forum Discussion
hayk
9 years agoExplorer | Level 4
Share and get the link via api?
Is it possible to share the file via api and get its shared link?
- Yes, you can create a shared link for any file or folder using sharingCreateSharedLinkWithSettings:
https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingCreateSharedLinkWithSettings
You can retrieve any existing links using sharingListSharedLinks:
https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingListSharedLinks
2 Replies
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
Yes, you can create a shared link for any file or folder using sharingCreateSharedLinkWithSettings:
https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingCreateSharedLinkWithSettings
You can retrieve any existing links using sharingListSharedLinks:
https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingListSharedLinks - hayk9 years agoExplorer | Level 4Dear Greg thank you very much for your amazing support. When we go full to production I'll urge my team to continue using dropbox in more use cases.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!