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 is used to create a shared link to a folder. This endpoint requires us to enable the sharing.write permission to do this task. Most of the time, sharing a folder is a synchronous process, but sometimes it can be asynchronous.

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.