Share and Add a Member to a Folder
Learn how to share a folder and add one or more members to it with the Dropbox API.
In this lesson, we’ll explore two new endpoints of the sharing
namespace, which include the following:
share_folder
add_folder_member
Share a folder
The /sharing/share_folder
endpoint is used to create a shared link to a folder. This endpoint requires us to enable the sharing.write
permission to do this task. Sometimes the sharing process can take a little long. If the process is finished within the wait time of the API call, it will return the response of the process. Otherwise, it will treat the process as asynchronous and return the ID of the asynchronous process.
Request parameters
Let’s see some of this endpoint’s parameters in the following table. We’ll use only the required parameters in our example code.
Get hands-on with 1200+ tech skills courses.