有奖:语音产品征文挑战赛等你来> HOT

功能说明

管理员可通过该接口查询已配置的回调。

接口说明

请求URL示列

https://xxxxxx/v1/callback/get?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json

请求参数说明

下表仅列出调用本接口时涉及修改的参数及其说明,更多参数详情请参考 REST API 简介
参数
说明
xxxxxx
SDKAppID 所在国家/地区对应的专属域名:
中国:callkit.trtc.tencent-cloud.com
v1/callback/get
请求接口
sdkappid
创建应用时控制台分配的 sdkappid
identifier
必须为 IM App 管理员账号
usersig
App 管理员账号生成的签名,具体操作请参见 生成 UserSig
random
请输入随机的32位无符号整数,取值范围0 - 4294967295
contenttype
请求格式固定值为json

最高调用频率

10次/秒。

请求包示例

传空即可。
{

}

应答包体示例

{
"errorCode": 0,
"errorMessage": "Success",
"requestId": "355c3c394f0602ed81a13c34999abebb",
"data": {
"actions": [
"call_busy",
"normal_end"
],
"address": "http://www.example.com/callback"
}
}

应答包字段说明

字段
类型
说明
errorCode
Integer
错误码,0为成功
errorMessage
String
错误信息
requestId
String
请求的唯一 ID
actions
Array
已配置的回调 actions
address
String
已配置的回调地址

错误码说明

错误码
含义说明
0
请求成功
50001
当前应用需要购买 TUICallKit 群组通话版套餐包方可使用
70001
回调地址必须 http 或 https 开头