Re: direct_add support for sub-groups #api


 

Hello,

On Fri, Sep 18, 2020 at 10:16 AM Srikanth Hanagud <shanagud@...> wrote:
It looks like we currently have a way to direct add members to subgroups but only if the user is not already in the main group. We can use the subgroupIDs to pass the sub-groups the member should be added to.
However, we’d like to be able to direct add to subgroups after a user has been added to the main group and there is no way to do this right now. 
If we try using direct add when the member is already added to the main group, we get a direct_add_existing error.
_._,_._,_

You can use that API endpoint to add people to subgroups when they already are members of the main group. You'll get an error telling you that the person is a member of the main group, but you can ignore it.

Hope this helps.
Mark

Join api@beta.groups.io to automatically receive all group messages.