Skip to main content

Get Group Member List

Brief Description

  • Retrieves the list of members in a group.

Request Method

  • post

Request URL

  • {API_ADDRESS}/group/get_group_member_list
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringUsed for global trace tracking. It is recommended to use a timestamp, unique for each request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"groupID": "2559217223",
"keyword": "userID",
"pagination": {
"pageNumber": 1,
"showNumber": 100
}
}
Field NameOptionalTypeDescription
groupIDRequiredstringGroup ID
keywordOptionalstringThe userID or nickname of a group member; returns paginated data if not provided
paginationRequiredobjectPagination parameter structure
pagination.pageNumberRequiredintCurrent page number, starting from 1
pagination.showNumberRequiredintNumber of items requested per page

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 5,
"members": [
{
"groupID": "2559217223",
"userID": "3034068043",
"roleLevel": 20,
"joinTime": 1687762198048,
"nickname": "OK",
"faceURL": "http://203.56.175.233:10002/third/object?name=%2Fdata%2Fuser%2F0%2Fcn.rentsoft.flutter.openim.consumer%2Fcache%2Fimage_cropper_1687330588901.jpg",
"appMangerLevel": 0,
"joinSource": 2,
"operatorUserID": "4771680259",
"ex": "",
"muteEndTime": 0,
"inviterUserID": "4771680259"
},
{
"groupID": "2559217223",
"userID": "3645617224",
"roleLevel": 60,
"joinTime": 1687762198048,
"nickname": "Huo",
"faceURL": "http://203.56.175.233:10002/third/object?name=%2Fdata%2Fuser%2F0%2Fcn.rentsoft.flutter.openim.consumer%2Fcache%2Fimage_cropper_1687846002615.jpg",
"appMangerLevel": 0,
"joinSource": 2,
"operatorUserID": "4771680259",
"ex": "",
"muteEndTime": 0,
"inviterUserID": "4771680259"
},
{
"groupID": "2559217223",
"userID": "3791793226",
"roleLevel": 20,
"joinTime": 1687760824107,
"nickname": "Wo",
"faceURL": "",
"appMangerLevel": 0,
"joinSource": 2,
"operatorUserID": "4771680259",
"ex": "",
"muteEndTime": 0,
"inviterUserID": "4771680259"
},
{
"groupID": "2559217223",
"userID": "4771680259",
"roleLevel": 100,
"joinTime": 1687760824107,
"nickname": "Lumia",
"faceURL": "http://203.56.175.233:10002/third/object?name=%2Fdata%2Fuser%2F0%2Fcn.rentsoft.flutter.openim.consumer%2Fcache%2Fimage_cropper_1687330764676.jpg",
"appMangerLevel": 0,
"joinSource": 2,
"operatorUserID": "4771680259",
"ex": "",
"muteEndTime": 0,
"inviterUserID": "4771680259"
},
{
"groupID": "2559217223",
"userID": "7117248489",
"roleLevel": 20,
"joinTime": 1687762198048,
"nickname": "Hello",
"faceURL": "",
"appMangerLevel": 0,
"joinSource": 2,
"operatorUserID": "4771680259",
"ex": "",
"muteEndTime": 0,
"inviterUserID": "4771680259"
}
]
}
}

Success Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if none
errDlterrDltDetailed error information, empty if none
dataobjectGeneral data object, see structure below
totalintTotal number of group members
membersarrayList of Group Member Information

Failure Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failure Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, refer to global error code documentation
errMsgstringBrief error message
errDlterrDltDetailed error information