Skip to main content

get_users_info

Description

  • Retrieves the detailed information list for specified users.

Request Method

  • POST

Request URL

  • {API_ADDRESS}/user/get_users_info
Header NameExample ValueRequiredTypeDescription
operationID1646445464564RequiredstringUsed for global traceability, suggested as a unique timestamp per request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"userIDs": ["11111111", "11111112"]
}
Field NameRequiredTypeDescription
userIDsRequiredarrayList of user IDs to query

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"usersInfo": [
{
"userID": "11111111",
"nickname": "yourNickname",
"faceURL": "yourFaceURL",
"ex": "",
"createTime": 1688454168302,
"appMangerLevel": 18,
"globalRecvMsgOpt": 0
},
{
"userID": "11111112",
"nickname": "alantestuid3",
"faceURL": "1111111",
"ex": "",
"createTime": 0,
"appMangerLevel": 18,
"globalRecvMsgOpt": 0
}
]
}
}

Success Response Parameter Description

ParameterTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if successful
errDltstringDetailed error information, empty if successful
dataobjectGeneral data object, structure described below
usersInfoarrayList of user information

Failure Response Example

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

Failure Response Parameter Description

ParameterTypeDescription
errCodeintError code; refer to global error code documentation
errMsgstringBrief error message
errDltstringDetailed error information