Webcast Room Chat
Purpose
Post a live-room chat message on the web webcast surface.
Endpoint
- host:
webcast.tiktok.com - method:
POST - path:
/webcast/room/chat/
Query Parameters Seen In Captured Requests
aid=1988app_language=enapp_name=tiktok_webbrowser_language=en-USbrowser_name=Mozillabrowser_online=truebrowser_platform=Linux x86_64browser_version=5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36channel=tiktok_webclient_start_timestamp_millisecondcookie_enabled=truedata_collection_enabled=truedevice_iddevice_platform=web_pcemotes_with_index=focus_state=truefrom_page=history_len=2input_type=0is_fullscreen=falseis_page_visible=trueos=linuxpriority_region=ROreferer=region=ROroom_idscreen_height=1080screen_width=1920tz_name=Europe/Bucharestuser_is_login=truewebcast_language=enmsTokenX-BogusX-Gnarly
Headers Seen In The Capture
Accept: */*Accept-Language: en-US,en;q=0.9Content-Type: application/json; charset=UTF-8Origin: https://www.tiktok.comReferer: https://www.tiktok.com/Sec-Fetch-Dest: emptySec-Fetch-Mode: corsSec-Fetch-Site: same-siteUser-AgentCookiex-secsdk-csrf-token- several
tt-ticket-guard-*headers
Request Body Seen In The Capture
{
"room_id": "{identifier}",
"content": "frumos",
"emotes_with_index": "",
"input_type": 0,
"client_start_timestamp_millisecond": 1774368350009
}
Another captured example differs only in content and timestamp.
Response Shape Seen In A Successful Capture
Top-level fields observed:
data.contentdata.content_languagedata.fullscreen_text_colordata.iddata.msg_iddata.msg_id_strdata.userdata.user_identityextra.nowstatus_code
Prominent nested data.user fields observed:
display_idnicknameidid_strsec_uidavatar_large.url_list[]avatar_thumb.url_list[]follow_info.follow_statusfollow_info.follower_countfollow_info.following_countverifieduser_attr.is_adminuser_attr.is_muted
Prominent nested data.user_identity flags observed:
is_anchoris_follower_of_anchoris_gift_giver_of_anchoris_moderator_of_anchoris_mutual_following_with_anchoris_subscriber_of_anchor
Observed successful response status:
status_code=0
Observed responses show server-side language labeling changing with message content:
"La multi ani"->content_language="it""frumos"->content_language="ro"
Authentication Errors
Documented error responses include:
data.message = "User doesn't login"data.prompts = "Please login first"status_code = 20003
Current Interpretation
This is a fully signed, session-bound action surface. The captures strongly suggest it depends on a real logged-in browser session, CSRF state, and ticket-guard headers, unlike the public unsigned discovery endpoints.