tencent cloud

Tencent Real-Time Communication

お知らせ・リリースノート
製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について
製品の説明
製品概要
基礎概念
製品の機能
製品の強み
ユースケース
性能データ
購入ガイド
Billing Overview
無料時間の説明
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
課金に関するよくあるご質問
Refund Instructions
初心者ガイド
Demo体験
Call
コンポーネントの説明(TUICallKit)
Activate the Service
Run Demo
クイック導入
オフライン通知
Conversational Chat
クラウドレコーディング(TUICallKit)
AI Noise Reduction
インターフェースのカスタマイズ
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
公開ログ
よくある質問
ライブ配信
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Demo のクイックスタート
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDKのダウンロード
APIコードサンプル
Usage Guidelines
クライアント側 API
高度な機能
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
コンソールガイド
アプリケーション管理
使用統計
監視ダッシュボード
開発支援
Solution
Real-Time Chorus
よくあるご質問
課金関連問題
機能関連
UserSig関連
ファイアウォールの制限の対応関連
インストールパッケージの圧縮に関するご質問
AndriodおよびiOS関連
Web端末関連
Flutter関連
Electron関連
TRTCCalling Web関連
オーディオビデオ品質関連
その他のご質問
旧バージョンのドキュメント
TUIRoom(Web)の統合
TUIRoom (Android)の統合
TUIRoom (iOS)の統合
TUIRoom (Flutter)の統合
TUIRoom (Electron)の統合
TUIRoom APIのクエリー
クラウドレコーディングと再生の実現(旧)
Protocols and Policies
セキュリティコンプライアンス認証
セキュリティホワイトペーパー
情報セキュリティの説明
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC ポリシー
プライバシーポリシー
データ処理とセキュリティ契約
用語集

Webhook After Room Destroyed

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-11-18 09:39:29

Feature Overview

The app backend can use this webhook to monitor room dissolution in real-time, including real-time recording of room dissolution (e.g., logging or synchronization with other systems).

Notes

To enable this webhook, you must configure the webhook URL and toggle on the corresponding protocol. For more information on the configuration method, see Third party webhook configuration documentation.
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

The app user successfully dissolved the room using the client
The app administrator successfully dissolved the room using the REST API

Webhook Trigger Time

After the room is successfully destroyed.

API description

Sample request URL

In the following example, 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

Parameter
Description
https
The request protocol is HTTPS, and the request method is POST
www.example.com
Webhook URL
SdkAppid
SDKAppID assigned by the Chat console when an application is created
CallbackCommand
Fixed as Live.CallbackAfterDestroyRoom
contenttype
Fixed value: JSON
ClientIP
Client IP, such as 127.0.0.1
OptPlatform
Client Platform, for value reference see Webhook Overview: Webhook Protocol for the meaning of the OptPlatform parameter

Sample request packets

{
"CallbackCommand":"Live.CallbackAfterDestroyRoom",
"Operator_Account":"admin",
"RoomId":"tandy-test-rest",
"EventType":"DestroyByUser", //"DestroyByUser", "DestroyBySystem" indicates two kinds: user-initiated dissolution and system-automatic dissolution when room is empty
"EventTime":1703589922780,
"RoomInfo": {
"RoomName": "live name",
"RoomType": "Live",
"Owner_Account": 144115216631667826,
"IsSeatEnabled": true,
"TakeSeatMode": "FreeToTake",
"MaxMemberCount": 400,
"MaxSeatCount": 4,
"Category": [1, 2, 3],
"CustomInfo": "",
"IsMessageDisabled": false,
"CoverURL": "cover url",
"ActivityStatus": 0,
"IsPublicVisible": false,
"ViewCount": 0,
"BackgroundURL": "background url",
"IsUnlimitedRoomEnabled": true
},
"Statistic": {
"TotalViewers": 0,
"TotalGiftsSent": 0,
"TotalGiftCoins": 0,
"TotalUniqueGiftSenders": 0,
"TotalLikesReceived": 0
}
}

Request packet fields

Field
Type
Description
CallbackCommand
String
Webhook command
Operator_Account
String
UserID of the operator initiating the room destruction request
RoomId
String
Room ID
EventType
String
Dissolution Type: Divided into user-initiated dissolution (DestroyByUser) and system-automatic dissolution (DestroyBySystem)
EventTime
Integer
Event trigger timestamp in milliseconds
RoomName
String
Room Name
RoomType
String
Room Type: Meeting (Meeting Room)
Owner_Account
String
Host ID
IsSeatEnabled
Bool
Is microphone support available
TakeSeatMode
String
Seat Mode: None (Off), FreeToTake (Free to Join the Podium), ApplyToTake (Apply to join the microphone)
MaxMemberCount
Integer
Maximum number of room members
MaxSeatCount
Integer
Maximum Number of Microphones
Category
Array
Room Type Identification, Integer array type
CustomInfo
String
Custom Definition Fields
IsMessageDisabled
Bool
Prohibit all members from sending text messages
CoverURL
String
Room cover URL
ActivityStatus
Integer
Live room activity status: user-defined tag
IsPublicVisible
Bool
Room is public or not
ViewCount
Integer
Total number of times the user has entered the room
BackgroundURL
String
Room background URL
IsUnlimitedRoomEnabled
Bool
Whether to enable room mixing to support high concurrency scenarios. The default value is false. When true, it corresponds to the TUILiveKit on the SDK side
TotalViewers
Integer
Total room entries, counting N times for the same user entering the room repeatedly
TotalGiftsSent
Integer
Total gift count
TotalGiftCoins
Integer
Total gift value
TotalUniqueGiftSenders
Integer
Total number of gift senders
TotalLikesReceived
Integer
Total like count

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
Mandatory
The result of the request process: OK indicates success; FAIL indicates failure
ErrorCode
Integer
Mandatory
Error Code, here 0 means to ignore the response result
ErrorInfo
String
Mandatory
Error message

Reference

REST API:Dissolve Room

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック