Gainsight CC: Retrieve Group and Membership Data with the New Groups API
Developers can now read community group and membership data programmatically. The new Groups Membership API gives you read access to public, private, and hidden groups and their members, so you can manage and report on groups outside the community.
Here's What's New
Five new endpoints in the CC Developer Portal
-
List Groups: Returns group IDs, names, and visibility. Add a user ID to scope the list of groups to that user.
-
Get Group Detail: Returns a group's name, description, visibility, member count, and moderator count.
-
List Members of a Group: Returns a paginated member list you can filter by status, search by username, and sort by role, join date, or username.
-
List a User's Group Memberships: Returns every group a user belongs to, with visibility, member status, and join date.
-
Get a User's Membership in a Group: Returns a user's visibility, status (joined or pending), and join date for one group.
Getting Started
The Groups Membership API endpoints are available now in the CC Developer Portal.
What’s next
These five endpoints are the start, not the end. We’ll continue working on the Groups API and have plans to add multiple endpoints for group membership operations such as adding and removing members, promoting and demoting members and approving and declining membership requests.
👉 Check out the Release Notes for more details.
💬 Have a question for our team? Drop a comment below!