Retrieve user group members list

This API allows you to retrieve details of members in the user group.

❗️

Make sure you have the appropriate access control configured. For more information, see access group documentation.

API endpoint

{host}/v2/userGroup2?{id/externalId}={value}

Query parameters

Query ParameterDescription
externalIdThis parameter is used to filter user groups by their external identifier.
expiredPointsThis parameter, when set to true, requests that information about points that have expired be included in the response.
expirySchedulesThis parameter, when set to true, requests that information about the schedules for point expiry be included in the response.
gapToUpgradeForThis parameter requests the point gap required for upgrading to the next level for a user group.
gapToRenewForThis parameter requests the point gap required for renewing the current level for a user group.
companyDetailsThis parameter requests details about the company associated with the user group.

Response parameters

KeyDescription
idThe unique identifier for the group.
userIdThe unique identifier for the user.
groupIdThe unique identifier for the group to which the user belongs.
defaultGroupA boolean indicating if this group is the default group for the user.
activeA boolean indicating if the user is currently active.
primaryMemberA boolean indicating if the user is the primary member of the group.
externalIdThe external identifier for the group.
groupStatusThe status of the group (e.g., ACTIVE).
fleetGroupUsersAn array of user objects, each with details about a user in the group.
createdByThe ID of the user who created the group.
createdOnThe date and time when the group was created.
groupNameThe name of the group.
maxGroupSizeThe maximum size of the group.
lifeTimePurchasesThe total purchases made over the lifetime of the group.
expiredPointsAn array containing details about points that have expired.
expirySchedulesAn array containing details about the schedules for point expiry.
gapToUpgradeAn array containing details about the gap required to upgrade to the next level.
totalActiveMembersThe total number of active members in the group.
totalExitedMembersThe total number of members who have exited the group.
warningsAn array of warning messages generated during the processing of the request.
Language
Authorization
Basic
base64
:
URL
Click Try It! to start a request and see the response here!