https://xxxxxx/v4/room_config/set_callback?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxx | The reserved domain name for the country/region where the SDKAppID is located: Singapore : adminapisgp.im.qcloud.com |
v4/room_config/set_callback | Request API |
sdkappid | The SDKAppID assigned by the Chat console when an app is created |
identifier | |
usersig | The Signature generated by the App administrator account. For more details, please refer to Generating UserSig. |
random | Enter a random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | The request format fixed value is json |
{"Url":"http://www.example.com/callback","CallbackCommandList":["Room.CallbackAfterMemberLeave","Mic.CallbackAfterSeatInfoChanged"]}
Field | Type | Attribute | Description |
Url | String | Mandatory | Callback address, must start with http/https, it is recommended to use the more secure https. |
CallbackCommandList | Array | Mandatory |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720"}
Field | Type | Description |
ActionStatus | String | The result of the request process. OK for success, FAIL for failure. |
ErrorCode | Integer | Error code. 0 for success, others for failure. |
ErrorInfo | String | Error message |
RequestId | String | The unique request ID is returned with each request and required to provide this RequestId when locating issues. |
Error code | Description |
100001 | Internal server error, please retry. |
100002 | The parameter is invalid, please check the request for correctness based on the error description. |
100300 | Callback configuration already exists, you can use the Update Callback Configuration interface to update. |
Was this page helpful?