获取SDK接入地址
POST
/openapi/staff/login
SDK
接入地址的时候,七鱼会执行客服在七鱼的登录事件,并生成含动态口令的SDK
接入地址返回给第三方数据校验
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://qiyukf.com/openapi/staff/login?appKey=&time=&checksum=' \
--header 'content-type: application/json;charset=utf-8' \
--data-raw '{"staffName": "admin"}'
响应示例响应示例
{
"code": 200,
"message": "",
"result": {
"sdk_url": "https://xxx.qiyukf.com/toolbar/script/get?token=cb1ec3c43089493eb4039945685ebf51",
"corp_code": "xxx",
"token": "cb1ec3c43089493eb4039945685ebf51"
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Header 参数
content-type
string
必需
示例值:
application/json;charset=utf-8
Body 参数application/json
返回响应
修改于 2022-01-28 04:23:34