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 | Webhook URL |
SdkAppid | SDKAppID assigned in the Chat console when creating an application |
CallbackCommand | Fixed as Live.CallbackAfterSetMetadata |
contenttype | The fixed value is json |
ClientIP | Client IP, format: 127.0.0.1 |
OptPlatform | Client platform. For the value, see Introduction to Third-Party Webhooks for the parameter meaning of OptPlatform |
{"CallbackCommand": "Live.CallbackAfterSetMetadata","Operator_Account": "brennanli","RoomId": "live-room1111","Metadata": [{"Key": "key1","Value": "value1"},{"Key": "key2","Value": "value2"}],"EventTime": 1739965885831}
Field | Type | Description |
CallbackCommand | String | Webhook command. |
Operator_Account | String | Operator UserID who initiates the room destruction request |
RoomId | String | Room ID |
Metadata | Array | Metadata data |
EventTime | Integer | Millisecond-level timestamp triggered by the event |
Key | String | Metadata key |
Value | String | Metadata value |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore webhook result}
Field | Type | Attribute | Description |
ActionStatus | String | Required | The result of request processing. OK indicates successful processing, and FAIL indicates failure. |
ErrorInfo | String | Required | Error message. |
ErrorCode | Integer | Required | Error code, 0 means ok. |
Feedback