https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Callback URL |
SdkAppid | The SDKAppID assigned in the IM console when creating an application |
CallbackCommand | Live.CallbackAfterCreateRoomReachingThreshold |
contenttype | The value is fixed as json. |
ClientIP | Client IP address, in the format of 127.0.0.1. |
OptPlatform | Client platform. For the valid values, see the description of the OptPlatform parameter in Webhook Protocol in Webhook Overview. |
{"CallbackCommand": "Live.CallbackAfterCreateRoomReachingThreshold","Operator_Account": "brennanli","EventTime": 1739966441121,"CurRoomCount": 400,"MaxRoomCount": 500}
Field | Type | Description |
CallbackCommand | String | callback command |
Operator_Account | String | Operator UserID that triggers the createRoom request |
CurRoomCount | String | Current room creation count |
MaxRoomCount | Array | Maximum room creation count |
EventTime | Integer | Event trigger timestamp, in milliseconds. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore the callback result}
Field | Type | Attribute | Description |
ActionStatus | String | Required | Request processing result. OK: processing successful; FAIL: processing failed. |
ErrorInfo | String | Required | Error Message |
ErrorCode | Integer | Required | Error code. Enter 0 here to ignore the callback result. |
Feedback