- OpenAPI基本介绍
- 错误码参考表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管 理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
获取流失提醒客户列表
GET
/open-api/external_user/list/outflow
openapi
错误码 | 说明 |
---|---|
20201 | staff_id 错误,找不到对应员工 |
20202 | type 不合法 |
20202 | order 不合法 |
请求参数
Query 参数
start_time
string
可选
示例值:
1592576435
end_time
string
可选
示例值:
1592576420
limit
string
可选
示例值:
10
offset
string
可选
示例值:
0
access_token
string
调用接口凭证
默认值:
{{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.weibanzhushou.com/open-api/external_user/list/outflow?start_time=1592576435&end_time=1592576420&limit=10&offset=0&access_token='
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
external_user_list
array [object {21}]
必需
avatar
string
客户头像
corp_full_name
null
企业全称
corp_name
null
企业名
created_at
integer
创建时间
external_profile
null
可选
gender
integer
性别
has_chat
boolean
是否有过聊天
id
string
客户ext_id
last_msg_time
null
最后消息时间
name
string
客户名
organization_correlation_time
null
可选
organization_id
null
可选
outflow_at
integer
流失时间
position
null
可选
score
integer
客户评分
staff
object
员工信息
staff_relation
object
可选
tags
array [object {6}]
可选
type
integer
可选
unionid
string
可选
updated_at
integer
可选
total_count
integer
必需
示例
{
"errcode": 0,
"errmsg": "ok",
"external_user_list": [
{
"avatar": "http://wx.qlogo.cn/mmhead/0wRpPfN90ibBwdKHP9ibtptfWMdiaGKCq7ZkicmDicr6tHAdS2EEh7BcjgL2n4FVwhGS6REDR0MFaic7o/0",
"corp_full_name": null,
"corp_name": null,
"created_at": 1734402363,
"external_profile": null,
"gender": 1,
"has_chat": false,
"id": "wmP_2OPAAAndyggEamnj--LN5MIJbpCQ",
"last_msg_time": null,
"name": "子川",
"organization_correlation_time": null,
"organization_id": null,
"outflow_at": 1736314633,
"position": null,
"score": 1,
"staff": {
"address": "",
"alias": "",
"avatar": "https://wework.qpic.cn/wwpic/728908_b3gQS0Z5R_-bIa-_1664245301/0",
"created_at": 1697766498,
"email": "",
"enable": true,
"english_name": null,
"extattr": "{\"attrs\": []}",
"external_contact_able": true,
"external_position": null,
"external_profile": {
"external_attr": [
{
"name": "pyq",
"type": 1,
"web": {
"title": "Pyq",
"url": "https://wbtest.tongchengwuxian.online/mobile/workbench/moment?code=E97002271C5FC55A0BEC0286893BB08F38257F28D20D6EC0ABA717980C04B678&isTool=true"
}
}
],
"external_corp_name": ""
},
"external_user_count": 19,
"gender": 2,
"ia_authorized": true,
"ia_authorized_at": 1698202327,
"ia_ext_id": "mia",
"id": "mia",
"is_root": false,
"ma_authorized": false,
"ma_authorized_at": 1728989763,
"mobile": "13277070308",
"moment_address": null,
"moment_cover": null,
"name": "左的超长无限同城的名称",
"new_ext_id": null,
"oa_authorized": true,
"oa_authorized_at": null,
"oa_ext_id": null,
"openid": null,
"position": "",
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcfa41cdadb76832c1",
"signature": null,
"status": 1,
"telephone": "",
"unionid": null,
"updated_at": 1734951802,
"user_id": null,
"usertype": null
},
"staff_relation": {
"add_way": 1,
"created_at": 1734951802,
"createtime": 1734951798,
"delete_by": "external_user",
"deleted": false,
"deleted_at": 1736314633,
"deleted_each_other": false,
"description": "",
"external_user_ext_id": "wmP_2OPAAAndyggEamnj--LN5MIJbpCQ",
"external_user_id": null,
"group_name": null,
"last_msg_time": null,
"remark": "子川",
"remark_corp_name": null,
"remark_mobiles": "[]",
"staff_ext_id": "mia",
"staff_id": 102468059,
"state": "wb:c:2:101050082",
"tag_name": null,
"type": null,
"updated_at": 1736315661
},
"tags": [
{
"create_time": "2024-07-16 13:45:33",
"deleted": false,
"group_ext_id": "etP_2OPAAA7w6VCjZsp3Esu9QZ9pW1fw",
"id": 102019505,
"name": "阿里云101",
"order": 0
}
],
"type": 1,
"unionid": "omefmt36BJgF0FiVh_2pbwY42U98",
"updated_at": 1734402366
}
],
"total_count": 1
}
🟢200正常返回
修改于 2025-01-09 07:39:47