获取群/好友简要信息
POST
/gewe/v2/api/contacts/getBriefInfo请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
wxids
array[string]
好友的wxid
>= 1 items<= 100 items
示例
{
"appId": "{{appid}}",
"wxids": [
"wxid_phyyedw9xap22"
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
array [object {20}]
必需
userName
string
可选
nickName
string
可选
pyInitial
string
可选
quanPin
string
可选
sex
integer
可选
remark
string
可选
remarkPyInitial
string
可选
remarkQuanPin
string
可选
signature
null
可选
alias
string
可选
snsBgImg
null
可选
country
string
可选
bigHeadImgUrl
string
可选
smallHeadImgUrl
string
可选
description
null
可选
cardImgUrl
null
可选
labelList
string
可选
province
string
可选
city
string
可选
phoneNumList
null
可选
示例
{
"ret": 200,
"msg": "获取联系人信息成功",
"data": [
{
"userName": "wxid_phyyedw9xap22",
"nickName": "Ashley",
"pyInitial": "ASHLEY",
"quanPin": "Ashley",
"sex": 2,
"remark": "",
"remarkPyInitial": "",
"remarkQuanPin": "",
"signature": null,
"alias": "zero-one_200906",
"snsBgImg": null,
"country": "AD",
"bigHeadImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/buiaXybHTBK3BuGr1edN72zBDermWVFJ7YC8Jib2RcCSdiauAtZcPgUQpdhE9KY5NsumDAWD16fsg3A6OKuhdEr97VAHdTGgk6R1Eibuj7ZNwJ4/0",
"smallHeadImgUrl": "https://wx.qlogo.cn/mmhead/ver_1/buiaXybHTBK3BuGr1edN72zBDermWVFJ7YC8Jib2RcCSdiauAtZcPgUQpdhE9KY5NsumDAWD16fsg3A6OKuhdEr97VAHdTGgk6R1Eibuj7ZNwJ4/132",
"description": null,
"cardImgUrl": null,
"labelList": "",
"province": "",
"city": "",
"phoneNumList": null
}
]
}
最后修改时间: 1 个月前