You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Jan N.3's avatar
Jan N.3
New member | Level 2
7 years ago

API - Create a subfolder in Teams folderand share it with external email

Hi all, I'm stuck with the following -

I need to create a subfolder in Teams folder and grant read access to the subfolder to external email address. 

Is there an endpoint to achieve this? Thanks in advance for any suggestions. Best, Jan

  • Yes, you can do this with the Dropbox API:

    - To create a team folder itself, if needed: /2/team/team_folder/create (Note: this is only necessary if team is not using the "team space" configuration, and requires a "Dropbox Business API app". You can find more information on the team-space/non-team-space difference in the Namespace Guide. Otherwise, you can just create folders in the team space directly.)

    - To create folders: /2/files/create_folder_v2

    - To share folders: /2/sharing/share_folder

    - To invite members to a shared folder, specifying a particular access level: /2/sharing/add_folder_member

     

    Note that those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, you can do this with the Dropbox API:

    - To create a team folder itself, if needed: /2/team/team_folder/create (Note: this is only necessary if team is not using the "team space" configuration, and requires a "Dropbox Business API app". You can find more information on the team-space/non-team-space difference in the Namespace Guide. Otherwise, you can just create folders in the team space directly.)

    - To create folders: /2/files/create_folder_v2

    - To share folders: /2/sharing/share_folder

    - To invite members to a shared folder, specifying a particular access level: /2/sharing/add_folder_member

     

    Note that those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 6 hours ago
333 Following

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 or Facebook.

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!