---
source_url: https://www.pubnub.com/docs/chat/overview
title: PubNub Chat API & SDK Docs
description: Explore how to create engaging chat apps effortlessly using PubNub's robust chat features, SDKs, and components.
updated_at: 2026-10-27T09:13:26.000Z
---

# PubNub Chat API & SDK Docs

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

PubNub Chat enables developers to quickly build and scale fast, powerful live chat experiences without the hassle of managing real-time infrastructure, ensuring low latency performance.

* **Rapid proof of concept**: With PubNub's [Chat SDKs](https://www.pubnub.com/docs/chat/overview.md#chat-sdks), you can seamlessly integrate chat room features using pre-built capabilities, sample apps, and expert guidance from our Solutions Architects.
* **Feature-rich**: Create modern, interactive messaging experiences with typing indicators, threaded messages, emoji reactions, read receipts, and more. Easily manage [users](https://www.pubnub.com/docs/data-storage/metadata/manage-user-metadata.md) and [channels](https://www.pubnub.com/docs/data-storage/metadata/manage-channel-metadata.md), and [moderate](https://www.pubnub.com/docs/message-processing/moderation/overview.md) your chat with the no-code BizOps Workspace that serves as your global chat moderator tool.
* **Unmatched reliability**: PubNub offers a publish-processing latency of about 0.5 ms within the same region. PubNub offers a 99.999% uptime SLA, which allows about 5 minutes of downtime per year. For more information contact [Sales](https://www.pubnub.com/company/contact-sales/). PubNub also supports millions of concurrent users, providing a scalable, high-performance chat experience. Real-time dashboards offer full visibility and control over your app's performance, whether users are text messaging or engaging in complex chat room activities.
* **Customizable and flexible**: Create unique experiences tailored to your users' needs with user presence, push notifications, and real-time updates. Use [PubNub Functions](https://www.pubnub.com/docs/message-processing/serverless/overview.md) to apply business logic to your messages, or leverage [pre-built integrations](https://www.pubnub.com/integrations/) for content moderation, voice & video, chatbots, and more. Take advantage of a variety of programming languages to fit your development environment.
* **Scalable pricing**: As your app grows, our pricing becomes more cost-effective, with no limits on concurrency or channels, allowing you to scale without worrying about hidden fees. [Try for free](https://admin.pubnub.com/#/register) to discover our platform's full potential.

## Chat SDKs

We developed the following set of Chat SDKs to enable easy integration of PubNub's real-time chat functionalities across diverse platforms and development environments:

* Website integration ([JavaScript Chat SDK](https://www.pubnub.com/docs/chat/chat-sdk.md))
* Gaming environments ([Unity Chat SDK](https://www.pubnub.com/docs/chat/unity-chat-sdk.md) & [Unreal Chat SDK](https://www.pubnub.com/docs/chat/unreal-chat-sdk.md)).
* Mobile app development ([Swift Chat SDK](https://www.pubnub.com/docs/chat/swift-chat-sdk.md) & [Kotlin Chat SDK](https://www.pubnub.com/docs/chat/kotlin-chat-sdk.md))

All Chat APIs use intuitive, chat-specific terminology enabling easy implementation of user interactions such as sending messages, managing threads, and indicating typing status with methods like `createUser()` and `startTyping()`.

These SDKs provide simple, high-level methods that call various methods from relevant [core SDKs](https://www.pubnub.com/docs/sdks.md) underneath, also sharing their [usage limits](https://www.pubnub.com/docs/architecture/limits.md).

* [JavaScript Chat](https://www.pubnub.com/docs/chat/chat-sdk.md)
* [Unity Chat](https://www.pubnub.com/docs/chat/unity-chat-sdk.md)
* [Unreal Engine Chat](https://www.pubnub.com/docs/chat/unreal-chat-sdk.md)
* [Swift Chat](https://www.pubnub.com/docs/chat/swift-chat-sdk.md)
* [Kotlin Chat](https://www.pubnub.com/docs/chat/kotlin-chat-sdk.md)

##### Core vs Chat

**Chat** SDKs offer specialized abstractions for **chat use cases** and provide more intuitive, chat-focused APIs you can add to new or existing applications.

**Core** SDKs offer real-time features for **any use case**, such as chat, IoT, logistics, and more. They directly interface with PubNub's real-time network. Explore our Core SDKs [here](https://www.pubnub.com/docs/sdks.md).

### Repositories

* [JavaScript Chat SDK](https://github.com/pubnub/kmp-chat/tree/master/js-chat)
* [Kotlin Chat SDK](https://github.com/pubnub/kmp-chat)
* [Swift Chat SDK](https://github.com/pubnub/swift-chat-sdk)
* [Unity Chat SDK](https://github.com/pubnub/unity-chat)
* [Unreal Chat SDK](https://github.com/pubnub/unreal-engine-chat)

### Supported features

Chat SDKs provide a number of features you can develop in your chat apps.

| Feature | Description |
| --- | --- |
| **Manage channels** | Create, update, and delete direct, public, and group channels |
| **Invite to channels** | Enable users to invite others to join channels by sending invitations |
| **Watch channels** | Enable users to monitor a channel and its messages, allowing them to receive messages without joining as members. |
| **Join or leave channels** | Allow users to join channels of interest or relevance and leave channels that are no longer needed |
| **Reference channels** | Let users mention specific channels in a chat conversation by typing `#` followed by at least the first three letters of the channel name |
| **Add typing indicator** | Provide real-time feedback to users when someone is composing a message |
| **Manage users** | Create, edit, and remove users |
| **Check user presence** | Display real-time online status of users in the app or per channel, showing if they are online, offline, active, or away |
| **Mention users** | Tag specific individuals within a chat by typing `@` followed by the first three letters of a username, triggering a list of suggestions |
| **Manage channel and user access** | Implement detailed permission schemas to control access to specific channels and user metadata within your chat app |
| **Moderate users** | Mute or ban misbehaving users |
| **Send/Receive messages** | Allow users to exchange text-based communications in real-time within channels |
| **Manage messages** | Create, edit, and remove messages |
| **Store historical messages** | Archive past conversations |
| **Restore messages** | Recover deleted messages within a specified timeframe |
| **Forward messages** | Share specific messages with others or across different channels |
| **Add/Remove message actions** | Add or remove actions, such as emojis, to messages |
| **Create message drafts** | Enable users to compose messages and review them before sending |
| **Quote messages** | Quote messages within channels |
| **Create message threads** | Start and participate in focused sub-conversations |
| **Send links** | Share URLs in messages |
| **Attach files** | Attach and share files of various formats |
| **Pin messages** | Pin important messages to the top of the chat for easy reference |
| **Track unread messages** | Implement notifications and visual markers for users to easily identify unread messages in channels |
| **Get message read receipts** | Be notified when other channel members have received and viewed a message. |
| **Flag/Report offensive messages** | Flag or report messages deemed inappropriate |
| **Receive mobile push notifications** | Support push notifications on mobile devices to alert users of new messages, mentions, or other significant activities |

## Get started

Demos

* [Explore real-time demos for Chat.](https://www.pubnub.com/demos/?sortBy=Most%20recent&categories=In-App%20Chat)

Sample App

* [Run a TypeScript sample Chat app locally.](https://www.pubnub.com/docs/chat/chat-sdk/build/sample-chat.md#run-the-chat-app)

Tutorials

* [Start building Chat solutions with PubNub.](https://www.pubnub.com/tutorials/?sortBy=Most%20recent&categories=In-App%20Chat)

## Management tools

* [User Management](https://www.pubnub.com/docs/data-storage/metadata/manage-user-metadata.md)
* [Channel Management](https://www.pubnub.com/docs/data-storage/metadata/manage-user-metadata.md)
* [Channel Monitor](https://www.pubnub.com/docs/message-processing/moderation/overview.md)

## Integrations

* [OpenAI GPT](https://www.pubnub.com/integrations/openai/)
* [Lasso Moderation](https://www.pubnub.com/integrations/lasso-moderation/)
* [Amazon Translate](https://www.pubnub.com/integrations/amazon-translate/)
* [Other integrations](https://www.pubnub.com/integrations/?sortBy=Most%20recent&categories=Language,AI)

Last updated at: 2026-10-27T09:13:26.000Z
