- 快速入门
- 开发指南
- 通讯录管理
- 客户联系
- 概述
- 企业服务人员管理
- 客户管理
- 客户标签管理
- 在职继承
- 离职继承
- 客户群管理
- 联系我与客户入群方式
- 客户朋友圈
- 消息推送
- 统计管理
- 变更回调
- 管理商品图册
- 管理聊天敏感词
- 上传附件资源POST
- 微信客服
- 身份验证
- 应用管理
- 消息推送
- 素材管理
- OA
- 效率工具
- 企业支付
- 企业互联
- 上下游
- 会话内容存档
- 电子发票
- 家校沟通
- 家校应用
- 政民沟通
获取访问用户敏感信息
POST
https://qyapi.weixin.qq.com/cgi-bin/auth/getuserdetail
成员必须在应用的可见范围内。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/auth/getuserdetail' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_ticket": "USER_TICKET"
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"userid": "lisi",
"gender": "1",
"avatar": "http://shp.qpic.cn/bizmp/xxxxxxxxxxx/0",
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcfc13b01dfs78e981c",
"mobile": "13800000000",
"email": "zhangsan@gzdev.com",
"biz_mail": "zhangsan@qyycs2.wecom.work",
"address": "广州市海珠区新港中路"
}
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
ACCESS_TOKEN
Body 参数application/json
user_ticket
string
成员票据
示例
返回响应
🟢200成功
application/json
Body
errcode
integer
返回码
errmsg
string
必需
userid
string
成员UserID
gender
string
必需
avatar
string
必需
qr_code
string
必需
mobile
string
必需
email
string
必需
biz_mail
string
必需
address
string
必需

【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通


修改于 2022-12-01 03:29:06