https://xxxxxx/v4/live_config/set_callback_token?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxxx | The reserved domain for the country/region where the SDKAppID is located: China: console.tim.qq.comSingapore : adminapisgp.im.qcloud.comAmerica : adminapiusa.im.qcloud.com |
v4/live_config/set_callback_token | Request API |
sdkappid | SDKAppID assigned by the Chat console when an app is created |
identifier | |
usersig | The Signature generated by the App Administrator account, for detailed operations, please refer to Generating UserSig |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | The request format fixed value is json |
{"Token" : "kdjsgjdskgjwejsdkkjgkjfklgjdfkjhnkdfhjgkglasdjkfjsekdhgjfsdhgsdjgkdjskgjfhjdfkjgsfdkjgeljsfkjsdkgdfkhgdfjgksdjfsdkjfksdgskhgssss","IsTokenEnable" : true}
Field | Type | Attribute | Description |
Token | String | Required for first time setup | Webhook authentication token value, The maximum length of the token is 128, and the minimum length is 1, See Security Considerations for usage. |
IsTokenEnable | Bool | Required for first time setup | Whether webhook authentication is enabled, true means enabled, false means disabled |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720"}
Field | Type | Description |
ActionStatus | String | The result of the request process: OK indicates success; FAIL indicates failure |
ErrorCode | Integer | Error code. 0: success; other values: failure |
ErrorInfo | String | Error message |
RequestId | String | 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 | Invalid parameter. Please check the request according to the error description. |
Feedback