https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameters | Description |
https | The request protocol is HTTPS, and the request method is POST |
www.example.com | Webhook URL |
SdkAppid | SDKAppID assigned by the Instant Messaging console when an application is created |
CallbackCommand | Fixed as Live.CallbackAfterUpdateRoomInfo |
contenttype | Fixed value: JSON |
ClientIP | Client IP, such as 127.0.0.1 |
OptPlatform | Client platform, see the value in Webhook Overview: Webhook Protocol for the meaning of the OptPlatform parameter |
{"CallbackCommand":"Live.CallbackAfterUpdateRoomInfo","Operator_Account":"bob","RoomInfo" : {"RoomId":"live-room","RoomName" : "rname-123","MaxMemberCount" : 300,"IsMessageDisabled" : false,"CoverURL": "https://xxxx.png","Category": [1,2,3],"ActivityStatus":1,"IsPublicVisible": false,"TakeSeatMode": "ApplyToTake","CustomInfo": "custom123"}"EventTime":1670574414123// Millisecond level, event trigger timestamp}
Field | Type | Description |
CallbackCommand | String | Webhook command |
Operator_Account | String | Operator UserID initiating group creation request |
RoomId | String | Room ID |
RoomName | String | Room Name |
MaxMemberCount | Integer | Maximum number of room members |
IsMessageDisabled | Bool | Prohibit all members from sending text messages |
CustomInfo | String | Custom Definition Fields |
TakeSeatMode | String | Seat Mode: None (Off), FreeToTake (Free to Join the Podium), ApplyToTake (Apply to join the microphone) |
IsPublicVisible | Bool | Room is public or not |
CoverURL | String | Room cover URL |
Category | Array | Room type identifier, integer array |
ActivityStatus | Integer | Live room activity status: user-defined tag |
EventTime | Integer | Event trigger timestamp in milliseconds |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore webhook result}
Field | Type | Attribute | Description |
ActionStatus | String | Required | The result of the request process: OK indicates success; FAIL indicates failure |
ErrorCode | Integer | Required | Error Code, here 0 means to ignore the response result |
ErrorInfo | String | Required | Error message. |
Feedback