跳到主要内容

通过用户ID获取指定群的入群申请

简要描述

  • 获取指定用户的入群申请。

请求方式

  • post

请求URL

  • {API_ADDRESS}/group/get_group_users_req_application_list
header名示例值选填类型说明
operationID1646445464564必填string用于全局链路追踪,建议使用时间戳,在每个请求中独立
tokeneyJhbxxxx3Xs必填string管理员 token

请求参数示例

{
"groupID": "234",
"userIDs": [
"123"
]
}
字段名选填类型说明
groupID必填string群ID
userIDs必填array用户ID列表

成功返回示例

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 1,
"groupRequests": [
{
"userInfo": {
"userID": "1225441072",
"nickname": "blooming66",
"faceURL": "",
"ex": ""
},
"groupInfo": {
"groupID": "3666081223",
"groupName": "group1",
"notification": "notification1",
"introduction": "",
"faceURL": "",
"ownerUserID": "1054527962",
"createTime": 1687747185342,
"memberCount": 14,
"ex": "",
"status": 0,
"creatorUserID": "1054527962",
"groupType": 2,
"needVerification": 0,
"lookMemberInfo": 0,
"applyMemberFriend": 0,
"notificationUpdateTime": 0,
"notificationUserID": ""
},
"handleResult": 1,
"reqMsg": "hello",
"handleMsg": "reason",
"reqTime": 1687747407352,
"handleUserID": "",
"handleTime": 0,
"ex": "",
"joinSource": 3,
"inviterUserID": ""
}
]
}
}

成功返回示例的参数说明

参数名类型说明
errCodeint错误码,0表示成功
errMsgstring错误简要信息,为空
errDlterrDlt错误详细信息,为空
dataobject通用数据对象,具体结构见下方
totalint加群申请总数
groupRequestsarray入群申请对象列表

失败返回示例

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

失败返回示例的参数说明

参数名类型说明
errCodeint错误码,具体查看全局错误码文档
errMsgstring错误简要信息
errDlterrDlt错误详细信息