<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sharing folders via API with outside email address in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sharing-folders-via-API-with-outside-email-address/m-p/216258#M11195</link>
    <description>&lt;P&gt;When using &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.sharing_add_folder_member" target="_self"&gt;sharing_add_folder_member&lt;/A&gt;, 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.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can invite someone to a shared folder using the Python SDK like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;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)&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 23:35:55 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-04-14T23:35:55Z</dc:date>
    <item>
      <title>Sharing folders via API with outside email address</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sharing-folders-via-API-with-outside-email-address/m-p/216253#M11194</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are on Dropbox Plus and it is not a team account. Is this possible and if so how would it be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the sharing_add_folder_member, but it does not sure how/where I could add using email address. The variations I get back refer to trying to return str and not AddMember.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not been able to findout how to addmember using the API documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance you can provide on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:23:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sharing-folders-via-API-with-outside-email-address/m-p/216253#M11194</guid>
      <dc:creator>sfox</dc:creator>
      <dc:date>2019-05-29T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing folders via API with outside email address</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sharing-folders-via-API-with-outside-email-address/m-p/216258#M11195</link>
      <description>&lt;P&gt;When using &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.sharing_add_folder_member" target="_self"&gt;sharing_add_folder_member&lt;/A&gt;, 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.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can invite someone to a shared folder using the Python SDK like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;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)&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 23:35:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Sharing-folders-via-API-with-outside-email-address/m-p/216258#M11195</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-04-14T23:35:55Z</dc:date>
    </item>
  </channel>
</rss>

