cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: Share and get the link via api?

Share and get the link via api?

hayk
Explorer | Level 4
Go to solution

Is it possible to share the file via api and get its shared link?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution
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

hayk
Explorer | Level 4
Go to solution
Dear 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.
Need more support?