# 获取指定外部联系人的关键词触发情况
# 请求方式
GET
# 请求地址
https://nbd-api.myscrm.cn/bff-nbd-qw-openapi/v1/keyword-rule/customer/statistics
# 请求参数
# 示例
https://nbd-api.myscrm.cn/bff-nbd-qw-openapi/v1/keyword-rule/customer/statistics?app_id=39febb6a-81f3-0b9a-5698-79041b85d947&external_userid=wm0qqpDAAAjBmfOhRxxx&start_time=1623524387118&end_time=1624524387118
# 说明
参数 | 类型 | 必须 | 说明 |
---|---|---|---|
app_id | string | 是 | 企微中台应用 id |
external_userid | string | 是 | 外部联系人 id |
start_time | string | 否 | 统计起始时间的毫秒时间戳 |
end_time | string | 否 | 统计结束时间的毫秒时间戳 |
start_time、end_time 任一为空则统计全部数据。
# 返回参数
# 示例
{
"errcode": 0,
"errmsg": "ok",
"results": [
{
"keyword": "面积",
"trigger_chat_cnt": 100,
"trigger_cnt": 10000
}
]
}
# 说明
参数 | 类型 | 说明 |
---|---|---|
results.keyword | string | 关键词 |
results.trigger_chat_cnt | int | 触发此关键词的聊天数,目前仅返回单聊数 |
results.trigger_cnt | int | 触发次数 |
← 拉取统计规则的触发记录 查询群聊信息 →