# 设置会话已回复

请求方式:POST

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

body参数

{
  "robot_id": "accuQiY9a1jbTwinD",
  "contact_id": "acc5sJewVgUdp8bu"
}
字段 类型 必填 说明
robot_id string 机器人open id
contact_id string 机器人open id

返回值:

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

返回说明

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

完整请求示例:

curl --location --request POST 'http://$basehost/gateway//eaopen/SetReply' \
--header 'Token: token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "robot_id": "accuQiY9a1jbTwinD",
  "contact_id": "acc5sJewVgUdp8bu"
}'
最后更新时间: 2024/4/10 11:56:18