Skip to main content

Retrieve List of Groups

Use GroupsRequestBuilder to configure filters, then call fetchNext() to retrieve groups.

Set Limit

Set the number of groups to fetch per request.

Set Search Keyword

Filter groups by a search string.

Joined Only

Return only groups the logged-in user has joined.

Set Tags

Filter groups by tags. Only groups tagged with the specified tags are returned.

With Tags

Include tag data in the response when set to true.

Fetch Groups

After configuring the builder, call build() then fetchNext() to retrieve groups. Public and password-protected groups are always included. Private groups only appear if the user is a member.

Retrieve Particular Group Details

Use getGroup() to fetch details for a specific group by GUID.
On success, the Group object containing the details of the group is returned.

Get Online Group Member Count

Use getOnlineGroupMemberCount() to get the count of online members for specific groups.
This method returns a Hashmap with the GUID of the group as the key and the online member count for that group as the value.

Group Payload Structure

The Group object returned by SDK methods contains the following fields:Sample Group Object:

Next Steps

Create Group

Create new groups for your users

Join Group

Join groups to participate in conversations

Retrieve Members

Fetch list of group members

Additional Filtering

Learn more about advanced filtering options