Querying User Group Details

Last updated: 2019-04-17 16:44:34


API Description

This API (GetGroup) is used to get the details of a user group.

Request domain name:


Input Parameters

The following request parameter list only provides the API request parameters. Other parameters can be found in Common Request Parameters.

Parameter Name Type Required Description
groupId int Yes User group ID

Output Parameters

Parameter Name Type Description
groupId int User group ID
groupName string User group name
groupNum int Number of members in a user group
remark string User group description
createTime String Time when a user group is created
userInfo array Array of indexes, where a member is an associative array, indicating a user who joins the user group. Member fields include uid (user group), uin (sub-account uin), and name (sub-account nickname).





    "code": 0,
    "message": "",
    "codeDesc": "Success",
    "data": {
        "groupId": 28791,
        "groupName": "testgrname",
        "groupNum": 1,
        "channel": 3,
        "remark": "tee123",
        "createTime": "2017-12-08 11:15:56",
        "userInfo": [
                "uid": 1133398,
                "uin": 3449203261,
                "name": "test1",
                "phoneNum": "13631422209",
                "countryCode": "86",
                "phoneFlag": 0,
                "email": "2385420691@qq.com",
                "emailFlag": 0,
                "userType": 3,
                "createTime": "2017-09-04 16:40:15",
                "isReceiverOwner": 0

Error Codes

For more information, see Error Codes.