Forum Discussion

blue's avatar
blue
Explorer | Level 4
8 years ago
Solved

Share folder with path instead of folder id

Is it possible to use an API call to share a folder with a user using the folder path instead of the folder id?

    • blue's avatar
      blue
      Explorer | Level 4
      So there is no other way to invite another user to a shared folder with a path rather than using folder ID?
      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        No, /2/sharing/add_folder_member is the only way to invite a new member to a shared folder, and it only accepts a shared folder ID, not a path.

         

        You can get the shared folder ID in any Metadata object for the folder, e.g., as returned by /2/files/get_metadata, which does accept a path.