Skip to main content
Thomas Deely
Contributor ⭐️⭐️⭐️
Oct 30, 2026 3:34 PM UTC
Solved

Is there a way to bulk add new members to community?

We have built a section of the community that will only be available to certain customers and we want to bulk invite those customers and assign them a special role. I am interested in ideas on the best way to approach this.

 

Has anyone done this? 

 

Thanks

    samanthahamlet
    Gainsight Community Manager
    Nov 3, 2026 2:11 PM UTC

    Hey ​@Thomas Deely 

    Appreciate your patience while I checked with the team on this, and it’s great to hear you’re building a dedicated section for specific customers. There are two main routes you could take for bringing them in and assigning a special role.

    Option 1: Register users via the API
    There’s an API call to register new users, which requires an email address for each person. Usernames and passwords would need to be predefined for everyone you add. The upside is that you can automatically assign the custom role that grants access to your special section at the point of registration. Once the users are in the community, you can send an email campaign to let them know they’ve been added.

    Option 2: Invite users to register themselves
    You could reach out to these customers through your usual external channels and invite them to sign up for the community on their own. In this case, the custom role would need to be assigned after registration, either through your SSO payload, manually, or via the API.

    Promoting the section
    With either approach, you can create a segment based on the custom role and use it to target a banner or another widget on your homepage, so the right members see and can find the new section.

    Hope this helps! 😊

    10 replies

    samanthahamlet
    Gainsight Community Manager
    Oct 30, 2026 4:11 PM UTC

    Hey ​@Thomas Deely 

    Great question! Checking with the team on this one, so will let you know when I hear more. 

    In the meantime, I’m interested to hear other community members perspectives on this! 👀

    Translate
    Contributor ⭐️⭐️⭐️⭐️
    Oct 30, 2026 4:21 PM UTC

    I don’t see an API endpoint for this, but that would be useful. I wonder if the MCP could do it?

    Translate
    Daniele Cmty
    Helper ⭐️⭐️
    Oct 30, 2026 5:18 PM UTC

    Following this as I’m interested too!

    The only complication I see is that they would have to set a password themselves..
    Would they have to do it after their account is created, by triggering a “forgot password” token?

    Also, how would you pick their usernames? That’s something you would have to determine yourself before creating the account.

    Translate
    dawn.wayland
    Contributor ⭐️⭐️⭐️
    Nov 2, 2026 5:10 PM UTC

    Very interested in this!  We want to do the same!  

     

    Translate
    samanthahamlet
    Gainsight Community Manager
    Nov 3, 2026 2:11 PM UTC

    Hey ​@Thomas Deely 

    Appreciate your patience while I checked with the team on this, and it’s great to hear you’re building a dedicated section for specific customers. There are two main routes you could take for bringing them in and assigning a special role.

    Option 1: Register users via the API
    There’s an API call to register new users, which requires an email address for each person. Usernames and passwords would need to be predefined for everyone you add. The upside is that you can automatically assign the custom role that grants access to your special section at the point of registration. Once the users are in the community, you can send an email campaign to let them know they’ve been added.

    Option 2: Invite users to register themselves
    You could reach out to these customers through your usual external channels and invite them to sign up for the community on their own. In this case, the custom role would need to be assigned after registration, either through your SSO payload, manually, or via the API.

    Promoting the section
    With either approach, you can create a segment based on the custom role and use it to target a banner or another widget on your homepage, so the right members see and can find the new section.

    Hope this helps! 😊

    Translate
    dawn.wayland
    Contributor ⭐️⭐️⭐️
    Nov 3, 2026 5:19 PM UTC

    ​@samanthahamlet if you are using SSO and the identifier for SSO is the email, could the user be loaded through API with email, username, role and then they are prompted to use the same password as SSO to authenticate in

    Translate
    samanthahamlet
    Gainsight Community Manager
    Nov 5, 2026 8:30 AM UTC

    Hey ​@dawn.wayland 

    Yes, that approach should work! One thing to be aware of is that a password is a required parameter when registering a user via the API, so you’d need to set one for each user, but as it won’t ever be used if they authenticate through SSO, it can just be a placeholder value. Hope this helps! 😊

    Translate
    Thomas Deely
    Contributor ⭐️⭐️⭐️
    Nov 6, 2026 3:37 PM UTC

    ​@samanthahamlet for existing community members, who are already part of community,

    what are the ways to bulk assing a custom role, is that via api? is csv upload available? 

    Translate
    Thomas Deely
    samanthahamlet
    Gainsight Community Manager
    Nov 9, 2026 2:07 PM UTC

    For existing community members, you can assign custom roles in bulk from the platform backend if you can filter the users using one or a couple of our filter criteria. Simply select them all and click “Edit custom role”.

    If they don’t share the same criteria, using an API script is definitely the best approach. Tagging in ​@Agata Lemańczyk here, who can help run the script for you if this is a one-off task, or walk you through it if you’ll need to do this regularly. Hope this helps! 😊

    Translate
    Agata Lemańczyk
    Gainsight Employee ⭐️
    Gainsight Employee ⭐️
    Nov 10, 2026 3:07 PM UTC

    Thanks for the introduction! Hi ​@Thomas Deely I’m the Solution Architect at Gainsight. Feel free to  reach out to me if you need my assistance with the custom roles bulk assignment!

    Translate