語音
呼叫中心
參數 | 說明 | 是否必填 | 類型 |
---|---|---|---|
account | 坐席帳號 | 是 | String |
expires | 憑證有效時間,組織秒,取值60-28800 | 是 | Integer |
Request URL:
https://api.laaffic.com/v3/cc/seat/createSdkAuthentication
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"account": "0705C245_001",
"expires":3600
}
參數 | 說明 | 類型 |
---|---|---|
status | 狀態碼,0成功,其他失敗參見響應狀態碼說明 | String |
reason | 失敗原因說明 | String |
data | String | |
authentication | 憑證,用於初始化CC-SDK | String |
{
"status":"0",
"reason":"success",
"data":{
"authentication":"Bearer SDNVerRWZp:0705C245_001:0ecc5e73-4252-42f6-8bf1-3a2d0bf7ea98"
}
}
status | 狀態說明 |
---|---|
0 | 成功 |
-1 | 帳號認證異常 |
-2 | ip限制 |
-16 | 時間戳過期 |
-18 | 系統異常 |
-22 | 參數異常 |
-24 | 數據不存在 |
點擊此處開啟人工服務