Skip to main content
Fetch the list of Group objects the logged-in user can see, get details for a specific group, or check online member counts.

Retrieve List of Groups

Use GroupsRequestBuilder to fetch groups with filtering, searching, and pagination.

Set Limit

Sets the number of groups to fetch per request.

Set Search Keyword

Filters groups by a search string.

Joined Only

When true, returns only groups the logged-in user has joined.

Set Tags

Filters groups by specified tags.

With Tags

When true, includes tag data in the returned group objects.
After configuring the builder, call build() to get the GroupsRequest object, then call fetchNext() to retrieve groups.
The list only includes public and password-protected groups. Private groups appear only if the user is a member.

Retrieve Particular Group Details

Use getGroup() to fetch a specific group’s details by GUID.
The method returns a Group object.

Get Online Group Member Count

Use getOnlineGroupMemberCount() to get the number of online members in specified groups.
Returns a [String: Int] dictionary with GUIDs as keys and online member counts as values.

Next Steps

Create Group

Create public, private, or password-protected groups

Retrieve Group Members

Fetch and filter members of a specific group