wx3api


获取通讯录列表(2102)

获取通讯录个人详细信息,包含群成员一起

属性 说明
api 2102
请求模式 Get或Post

get请求:


http://127.0.0.1:8888/?api=2102&page=1&pageSize=1000

post请求:


请求地址: http://127.0.0.1:8888/ json数据:

{
    "api":2102,
    "data":
    {
        "page":1,
        "pageSize":1000
    }
}

返回数据:


{
    "data":
    {
        "record":
        [

            {
                "userName":"wxid_xxxxxx",
                "alias":"wz13728937880",
                "nickName":"。",
                "remark":"",
                "labelIDList":"",
                "type":1,
                "verifyFlag":0,
                "reserved2":1,
                "reserved5":0,
                "pYInitial":"",
                "bigHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/Mcg9u7nr8nsiaEAHurCES74BmR0fJZfx817Fvq2wibYicZdicKO5cU8FqUPwZJZvjvy6KAJ5QLb7hfvTDNBibTI3JCQ/0",
                "smallHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/Mcg9u7nr8nsiaEAHurCES74BmR0fJZfx817Fvq2wibYicZdicKO5cU8FqUPwZJZvjvy6KAJ5QLb7hfvTDNBibTI3JCQ/132"
            },

            {
                "userName":"wxid_xxxxxx",
                "alias":"congcong145986",
                "nickName":"。。。",
                "remark":"",
                "labelIDList":"",
                "type":3,
                "verifyFlag":0,
                "reserved2":1,
                "reserved5":0,
                "pYInitial":"",
                "bigHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/AIA0r92t2u4QgqQ2fKFHOcggQpvRRsicCuX4cqhNfkhRibViaCdW9uDsgbM7ibxLbUJKHgfq0qQjfYtgibcpuYkS6NQ/0",
                "smallHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/AIA0r92t2u4QgqQ2fKFHOcggQpvRRsicCuX4cqhNfkhRibViaCdW9uDsgbM7ibxLbUJKHgfq0qQjfYtgibcpuYkS6NQ/132"
            },

            {
                "userName":"wxid_xxxxxx",
                "alias":"zQSL1220",
                "nickName":".........",
                "remark":"",
                "labelIDList":"",
                "type":3,
                "verifyFlag":0,
                "reserved2":1,
                "reserved5":0,
                "pYInitial":"",
                "bigHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/s6GOLwXkNSCnCpf0qcWCgqV6mooYZEdoiavIcJpU4OdefjiaKMeVorjqfk5MLOsuh4DJ5majMFaRo9nKT34cHQe9Ticibz0oFro1yNDNZ6eV3m0/0",
                "smallHeadImgUrl":"http://wx.qlogo.cn/mmhead/ver_1/s6GOLwXkNSCnCpf0qcWCgqV6mooYZEdoiavIcJpU4OdefjiaKMeVorjqfk5MLOsuh4DJ5majMFaRo9nKT34cHQe9Ticibz0oFro1yNDNZ6eV3m0/132"
            },
            ...后面记录省略...
        ],
        "page":1,
        "pageSize":1000,
        "total":10929,
        "count":1000
    },
    "api":2102,
    "wechat":"xxxxxx",
    "port":30371,
    "pid":24536,
    "msg":"通讯录列表(包含群成员)",
    "errorCode":0,
    "errorMsg":""
}

pageSize默认为1000,最大值为3000

数据说明:

属性 数据类型 说明
userName 字符串 微信id 接口所有操作都是用它,含有 “@chatroom” 表示群微信id
alias 字符串 微信号
nickName 字符串 昵称
remark 字符串 备注
labelIDList 字符串 标签
type 数字 联系人类型 具体区分不明
verifyFlag 数字 大于0表示公众号id
reserved2 数字 等于1表示好友,其它表示群友
reserved5 数字 不明
pYInitial 字符串 昵称抖音
bigHeadImgUrl 字符串 大图像
smallHeadImgUrl 字符串 小图像

页面列表

ITEM_HTML