https://console.tim.qq.com/v4/call_engine_http_srv/start_call_by_robot?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameters | Overview |
xxxxxx | SDKAppID resides in the country/region where the dedicated domain name is located. China: console.tim.qq.comSingapore: adminapisgp.im.qcloud.comSeoul: adminapikr.im.qcloud.comFrankfurt: adminapiger.im.qcloud.comSilicon Valley: adminapiusa.im.qcloud.comJakarta: adminapiidn.im.qcloud.com |
v4/call_engine_http_srv/start_call_by_robot | Request API. |
sdkappid | The SDKAppID assigned by the IM console when creating an application. |
identifier | Must be an App administrator account. For more details, see App admin. |
usersig | The generated signature of the App administrator account. For specific operations, see generate UserSig. |
random | Enter a random 32-bit unsigned integer, value ranges from 0 to 4294967295. |
contenttype | The request format is fixed as json. |
{"Robot_Account":"user1","CalleeList_Account":["user5"],"Timeout":300000,"UserData":"userdata-12345687","CallInfo":{"MediaType": "Audio","RoomIdType":2,"RoomId":"roomid-1234"},"OfflinePushInfo": {"PushFlag": 0,"Title":"This is the push title","Desc": "This is the offline push content""Ext": "This is the transmitted content"}}
Field | Type | Attribute | Overview |
Robot_Account | String | Required | Caller robot UserID. The backend does not perform heartbeat health check or busy line check on this UserID. |
CalleeList_Account | Array | Required | Callee UserID list. |
Timeout | Integer | Required | Timeout period (unit: ms), range: 10000 - 600000 ms. |
UserData | String | Optional | Custom data will be passed to the callee side through call initiation notification, with a maximum of 1000 bytes. |
CallInfo | Object | Required | Call information. |
MediaType | String | Required | Media type: Video call Audio call |
RoomId | String | Optional | TRTC Room ID. |
RoomIdType | Integer | Optional | RoomId type: 1:digit room ID.2:string Room Number. |
OfflinePushInfo | Object | Optional |
{"ErrorCode": 0,"ErrorInfo": "","ActionStatus": "OK","RequestId": "Id-431454f25a44462d8155bdff4fed38cc-O-Seq-19029769"}
Field | Type | Overview |
ErrorCode | Integer | Error code: 0 indicates success, non-0 indicates failure. |
ErrorInfo | String | Error Message. |
ActionStatus | String | Request processing result. OK: processing successful; FAIL: processing failed. |
RequestId | String | Unique request ID, returned for each request. To troubleshoot a request, its RequestId should be provided. |
Error Code | Description |
101001 | Internal server error, please retry. |
101002 | Invalid parameter. Check whether the request is correct according to the error description. |
101004 | The call does not exist, or it may have existed but has already ended. |
文档反馈