We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
sfox
8 years agoExplorer | Level 3
Sharing folders via API with outside email address
Using the Python SDK. I am creating a shared folder and would like to invite someone to collaborate on the folder and I only have the email address. We are on Dropbox Plus and it is not a team ac...
- 8 years ago
When using sharing_add_folder_member, you specify the people to invite via the 'members' parameter, which expects a list of AddMember. (Apologies the type isn't more clearly shown there. We'll make a note of that.)
So, you can invite someone to a shared folder using the Python SDK like this:
member_selector = dropbox.sharing.MemberSelector.email("user@example.com") add_member = dropbox.sharing.AddMember(member_selector) members = [add_member] # this can contain more than one member to add res = dbx.sharing_add_folder_member(shared_folder_id, members)
Hope this helps!
Greg-DB
8 years agoDropbox Staff
When using sharing_add_folder_member, you specify the people to invite via the 'members' parameter, which expects a list of AddMember. (Apologies the type isn't more clearly shown there. We'll make a note of that.)
So, you can invite someone to a shared folder using the Python SDK like this:
member_selector = dropbox.sharing.MemberSelector.email("user@example.com") add_member = dropbox.sharing.AddMember(member_selector) members = [add_member] # this can contain more than one member to add res = dbx.sharing_add_folder_member(shared_folder_id, members)
Hope this helps!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!