# 客服转介群聊会话

请求方式:POST

请求地址:https://$basehost/gateway/eaopen/TransferGroupChat

body参数

{
  "customer_service_account": "pzer",
  "robot_id": "accuQiY9a1jbTwinD",
  "group_id": "acc5sJewVgUdp8bu",
  "is_mark_chat_unread":true
}
字段 类型 必填 说明
customer_service_account string 客服登录账号
robot_id string 机器人open id
group_id string 群聊id
is_mark_chat_unread bool 是否标记会话未读

返回值:

{
	"errcode": 0,
	"errmsg": "",
	"hint": "xxxx"
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
hint string 请求日志ID

完整请求示例:

curl --location --request POST 'http://$basehost/gateway/eaopen/TransferGroupChat' \
--header 'Token: token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "customer_service_account": "pzer",
  "robot_id": "accuQiY9a1jbTwinD",
  "group_id": "acc5sJewVgUdp8bu",
  "is_mark_chat_unread":true
}'
最后更新时间: 2025/3/3 11:18:46