uchat docs

How to create, install, run, and extend your chat room.

Get started

  • What you can build with uchat →

    Learn the three ways to add features to a uchat chat room on your site, and which one to pick for each job.

  • 5-minute setup →

    Create a chat room and paste the install code to show it on your site. Also covers frameworks, CMSs, channel chat rooms, and what to check when the room does not show.

  • Your first script →

    Use a page script to receive the chat room join event, show a notice line, and send a message.

Guides

  • Member integration →

    How members logged in to your site join the chat room with their nickname, ID, level, and permissions, and what to check when they cannot join.

  • Async loading and multiple chat rooms →

    How to register events before uchat.js loads, how to split events across several chat rooms on one page, and how to attach and clean up chat rooms in an SPA, and how to add a floating widget in the bottom-right corner.

  • Extending the skin UI →

    Follow one example that adds a menu button to the default skin, takes input with a dialog, attaches an area above the chat, and cleans up with remove functions.

  • Sending and receiving real-time data →

    How to use channels (room.plugin) to exchange non-chat data between people in the same chat room, and how to validate the data you receive.

  • Sending notifications from your server to a chat room →

    How to send data from your server to a chat room channel with the server API (v2), and how your page script or a plugin can pick out and show only the data your server sent.

  • Security checklist →

    What to check in tokens, member integration signatures, channel data, the server API, and screen output before you launch a site with uchat.

Reference

  • u-chat attributes →

    Attributes of the u-chat tag that embeds a chat room, and the rules for installing and removing it.

  • U.chat() and the room object →

    U.chat(), the entry point for page scripts, and the values and functions of the room object that event callbacks receive.

  • Events →

    A list of chat room events, the data each one receives, and what is actually blocked when a before handler returns false.

  • Skin UI API →

    The full list of the room.skin API, which adds menus, dialogs, areas, and styling to the default skin (basic-v2).

  • Channel API and limits →

    The canonical reference for room.plugin channels, which exchange real-time data, covering functions, value formats, and save and sending limits.

  • Server REST API →

    Authentication, endpoints, responses, and error codes for the REST API (v2) that lets your server read a chat room's state and send data to plugin channels, plus the older v1 method.

  • Member integration signature spec →

    The fields of the member integration user_data string, how to build the signature (hash), the time sync checks, and fixed values for testing.

  • Legacy skin API →

    The room.skin API of the legacy skin (basic) used by older chat rooms — jQuery DOM, menu bar, popups, nickname menu — and a mapping table for moving to the default skin.

Examples

  • Watch YouTube together →

    An example where everyone in the chat room watches a YouTube video picked by a moderator or higher.

  • Rock paper scissors →

    An example where you challenge someone to rock paper scissors from the nickname menu, verify the values both sides sent, and announce the result.

  • Decorate nicknames and messages →

    An example of changing nickname colors and images, message backgrounds, line spacing, and hiding nicknames in the default skin.

  • Payment completion notice →

    An example where your server notifies the chat room through the server REST API (v2) when a payment completes, and a page script receives it and shows it in the chat window.

Managing

Business name UCHAT · CEO 김경욱 · Business registration no. 141-05-32832
Address 경기도 파주시 와석순환로 61 · Mail-order business registration no. 2013-경기파주-4485호
Phone 010-8677-8633 · Email support@uchat.io

ⓒ 2013–2026 UCHAT. All rights reserved.