帮助中心首页
开发者文档
企业信息对接

智齿开放平台-单点登录

请求方法

POST  https://open.sobot.com/open/platform/api.json



请求参数(Request Body

参数名

类型

必填

说明

action

字符串

传值为"console_direct_url"

access_token

字符串

调用接口凭据

data

对象

详见下文

请求data

参数名

类型

必填

说明

email

字符串

客服邮箱

type

整型

登录页面,1:工作台

返回数据

参数名

类型

说明

code

字符串

执行结果码,1000代表成功

data

对象

详见下文

返回data

参数名

类型

说明

url

字符串

跳转地址

 

请求示例

 

curl https://open.sobot.com/open/platform/api.json \
-X POST \
-H 'content-type: application/json' \
-d '
{
"action": "console_direct_url",
"access_token": "xx",//获取access_token
"data": {
"email": "xx",
"type":1
}
}'

返回示例

{
"code":"1000",
"data":{
"url" : "xx"
}
}