# 获取单聊详情
# 请求方式
GET
# 请求地址
https://nbd-api.myscrm.cn/open-nbd-qw-msgaudit/v1/single-chat/get
# 请求参数
# 示例
https://nbd-api.myscrm.cn/open-nbd-qw-msgaudit/v1/single-chat/get?app_id=3a012235-00b7-17c6-f469-ec7509bea138&chat_id=3a01ff22-13fd-2501-2969-fe1c6a417138
# 说明
参数 | 类型 | 必须 | 说明 |
---|---|---|---|
app_id | string | 是 | 企微中台应用 id |
chat_id | string | 是 | 企微中台聊天 id |
# 返回参数
# 示例
{
"errcode": 0,
"errmsg": "ok",
"external_user": {
"external_userid": "xxxxx",
"name": "xxx",
"avatar": "xxxx",
"type": 1,
"corp_name": "",
"remark": "奶酪",
"description": ""
},
"employee": {
"qw_user_id": "xxxxx",
"name": "xxxx",
"avatar_url": "xxxxx"
},
"has_agreed_msgaudit": true,
"last_chat_at": "1644652121601"
}
# 说明
参数 | 类型 | 说明 |
---|---|---|
external_user.external_userid | string | 外部联系人 id |
external_user.name | string | 外部联系人名称 |
external_user.avatar | string | 外部联系人头像地址 |
external_user.type | int | 外部联系人类型:1-微信用户;2-企业微信用户 |
external_user.corp_name | string | 外部联系人所在企业简称,external_user.type = 2 时不为空 |
external_user.remark | string | 该单聊参与员工对该外部联系人的备注 |
external_user.description | string | 该单聊参与员工对该外部联系人的描述 |
employee.qw_user_id | string | 企微员工 id |
employee.name | string | 企微员工名称 |
employee.avatar_url | string | 企微员工头像地址 |
has_agreed_msgaudit | bool | 外部联系人是否同意会话存档 |
last_chat_at | string | 该单聊最近聊天信息的毫秒时间戳 |
← 写入聊天记录 获取指定成员的群聊列表 →