获取会话小结信息接口
GET
/api/v2/getChatSummary
请求参数
Query 参数
token
string
可选
code
string
可选
Body 参数application/json
object {0}
示例
message ChatSummary {
string uid = 1;
string email = 2;
string username = 3;
string userId = 4;
string externalUserId = 5;
string contactName = 6;
string wecomChatId = 7;
string roomName = 8;
int32 chatRound = 9;
string botCorpId = 10;
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/getChatSummary?token&code' \
--header 'Content-Type: application/json' \
--data-raw 'message ChatSummary {
string uid = 1;
string email = 2;
string username = 3;
string userId = 4;
string externalUserId = 5;
string contactName = 6;
string wecomChatId = 7;
string roomName = 8;
int32 chatRound = 9;
string botCorpId = 10;
}'
返回响应
🟢200成功
application/json
Body
errcode
number
错误码
errmsg
string
错误说明
data
object
必需
uid
string
系统员工id
email
string
系统员工邮箱
username
string
系统员工名称
userId
string
托管账号企微员工id
externalUserId
string
外部联系人id
contactName
string
客户名称
wecomChatId
string
群聊id
roomName
string
群聊名称
chatRound
integer
沟通次数
botCorpId
string
托管账号所属企业id
timestamp
integer
事件时间戳
示例
{
"errcode": 0,
"errmsg": "",
"data": {
"uid": "646d818baf71f175124fabdd",
"email": "leidaceshi@163.com",
"username": "董浩4",
"userId": "SuZhaoYi",
"externalUserId": "",
"contactName": "",
"wecomChatId": "wr4KoKHgAAkfc99It3MZD_wWRVl0IQJw",
"roomName": "客户群-测试",
"chatRound": 1,
"botCorpId": "ww19ee0f806b4ff125",
"timestamp": 1703062765798
}
}
修改于 2024-02-08 06:20:30