机器人消息回调配置
POST
/robot/robotInfo/update查看本接口前请先查看"消息回调接口规范" : https://www.apifox.cn/apidoc/project-1035094/doc-861677
请求参数
Query Params
robotId
string
required
Example:
{{robot_id}}
key
string
optional
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
openCallback
integer
required
是否开启QA回调 0关闭 1开启
replyAll
string
required
开启回复策略
callbackUrl
string
optional
QA回调url
Example
{
"openCallback": 1,
"replyAll": 1,
"callbackUrl": "https://api.ownthink.com/bot"
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
number
required
message
string
required
data
null
optional
Example
{
"code": 0,
"message": "string",
"data": null
}
Last modified: 11 天前