tencent cloud

Mobile Live Video Broadcasting

Release Notes and Announcements
TUILiveKit Release Notes
Live SDK Release Notes
User Guide
Product Introduction
Overview
Strengths
Performance Statistics
Concepts
Purchase Guide
TRTC Live Billing Overview
Billing of Video Live Component
Activating the Service (TUILiveKit)
Free Demo
Demo
Run Demo(TUILiveKit)
Integration Guide
Video Live Streaming
Preparation
Host Live Streaming
Audience Viewing
Live Stream List Live Stream List
Voice Chat Room
Preparation
Host Live Streaming
Audience Viewing
Live Stream List
Live Streaming Kit
Live Streaming Kit(Electron Desktop Application)
Live Streaming Kit(Web Desktop Browser)
Live Broadcast Monitoring
Monitoring Webpage (Web Desktop Browser React)
Monitoring Webpage (Web Desktop Browser Vue)
UI Customization
Live Stream Video Component
Video Source Editing Canvas
Audience List Component
Barrage Component
Media Source Configuration Panel
Link Management Panel
Live Gift Component
No UI Integration
Video Live Streaming
Voice Chat Room
Feature Guide
Follow Anchors (TUILiveKit)
Ultimate Image Quality (TUILiveKit)
Push Media Stream Into Room (TUILiveKit)
Gift System (TUILiveKit)
Client APIs
Android
iOS
Web
Server APIs (TUILiveKit)
Account System
REST API
Third-Party Webhooks
Error Codes (TUILiveKit)
FAQs
Platform Compilation
User Authentication
Live SDK
Product Introduction
Purchase Guide
Free Demo
Free Trial License
SDK Download
Licenses
Advanced Features
Client API
FAQs
Integration (No UI)
API Documentation
OSS information
OSS Attribution Notice

Webhook After Room Update

PDF
Focus Mode
Font Size
Last updated: 2026-03-11 14:28:44

Feature Description

The app backend can use this webhook to view room information updates in real time, including real-time logs of changes (such as logging or syncing to other systems).

Notes

To enable the webhook, a webhook URL must be configured and the switch corresponding to this webhook protocol activated. For configuration methods, see Third-party Webhook Configuration document.
During this webhook, the Live backend initiates an HTTP POST request to the App backend.
After receiving the webhook request, the app backend must check whether the SDKAppID contained in the request URL is consistent with its own SDKAppID.

Scenarios That May Trigger This Webhook

App users update room information through the client.
App admins update room information through RESTful APIs.

Webhook Trigger Time

After the room information is successfully updated.

API Description

Request URL Sample:

In the following sample, the webhook URL configured in the app is https://www.example.com.
Example:
https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform

Request Parameters

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

Sample Request Packets

{
"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
}

Request Packet Fields

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

Response Packet Example

A webhook response packet is sent after the app backend synchronizes the data.
{
"ActionStatus": "OK",
"ErrorInfo": "",
"ErrorCode": 0 // Ignore webhook result
}

Response Packet Field Description

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.

Reference

REST API: Update Room

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback