AblyChat

The Chat API built for serious scale

Build chat applications, with chat APIs and SDKs your team will love, on a platform you can trust.

Jump to the docs
Chat
Chat
Chat

550B+

messages per month

1B+

connections per month

100%

uptime over 5 years

trusted by brands serious about realtime
Customer stories

Realtime chat that just works

Built to serve the world's most demanding workloads: 1B+ connected devices, with 5+ years of 100% uptime. No outages. Just seamless chat.

Power more within budget

Don't stifle innovation for fear of cost. Deliver high-scale chat without penalty. Just pay for what you use and optimize workloads to save further.

Get building cool sh*t!

Give your team the tools to rapidly ship exceptional chat experiences. Get users reacting, interacting and engaging like never before.

use cases

One product. Endless chat possibilities

Build any chat experience, at any scale, with Ably Chat. Effortlessly handle conversations whether they are one:one or many:many.

Live streaming chat

Enable realtime interaction alongside streaming content. Handle millions of concurrent users chatting and reacting with a simple chat API.

  • Unlimited scale
  • Cost optimization via message batching
  • No peak concurrent connection overages
  • Message and room reactions
  • Online user status and room occupancy
  • Moderation - Hive or BYO
  • Message edit and delete
Live streaming chat

Customer service chat

Streamline live one:one support chat - whether it's customer service, tech support, patient care, or student help. Roll-out globally without fear of service disruption.

  • Easy integration into your tech stack
  • Multi-region globally distributed infrastructure
  • Direct tickets to the next available agent using presence
  • Fully features chat API inc: typing indicators, read receipts, message edit and delete
Customer service chat

Community in-app chat

Keep users on platform and engaged with in-app messaging. Craft a chat experience that integrates fully with your platform.

  • Private and group chat
  • Moderation - Hive or BYO
  • Presence and online status indicators
  • Typing indicators
  • Message read receipts
  • Message edited and delete
  • Enable room and message reactions
Community in-app chat

"Ably is now a business-critical part of our organisation-wide infrastructure."

Max Freiert

Product Group Lead

Max Freiert logo

"With Ably, we delivered a high quality outcome in an impressive timeframe."

Andy Camera

Head of Technology (C2C)

Andy Camera logo

"Partnering with Ably was a game-changer…ensuring a top-tier experience for our users."

Andy Tseng

Senior Engineering Director

Andy Tseng logo
Chat
Chat

talking your language

Choose your platform

Ably's Chat SDKs provide a consistent and idiomatic API across a variety of supported platforms.

Javascript
React
Swift
Kotlin
import * as Ably from "ably";
import { ChatClient, MessageEvent, RoomOptionsDefaults } from "@ably/chat";

// Initialize Ably Realtime client
const ablyClient = new Ably.Realtime({
  key: "<API_KEY>",
  clientId: "ably-chat",
});

// Create an Ably Chat client instance
const chatClient = new ChatClient(ablyClient);

// Get or create a chat room
const room = await chatClient.rooms.get("my-chat-room", RoomOptionsDefaults);

// Subscribe to incoming messages
room.messages.subscribe((message: MessageEvent) => {
  console.log("Received message:", message.message.text);
});

// Attach to the room to start receiving messages
await room.attach();

// Send a message
await room.messages.send({ text: "Hello, World!" });
Chat JS react

integrate with other services

Easy integration, whatever your stack

Connect with pre-built integrations for Webhooks, Lambdas, databases, cloud services, observability tools and stream processors.

Amazon Lambda functions

Azure functions

Cloudflare Workers

Google Cloud functions

AMQP

Amazon Kinesis

Amazon Lambda functions

Azure functions

Cloudflare Workers

Google Cloud functions

AMQP

Amazon Kinesis

Amazon SQS

Kafka

IFTTT

Zapier

Apache Pulsar

Terraform

Amazon SQS

Kafka

IFTTT

Zapier

Apache Pulsar

Terraform

chat building blocks

Interactions. Reactions. All in realtime.

Chat APIs for building large scale chat applications.

Send/receive chat messages

Send/receive chat messages

Implement 1:1 conversations, group chats and global chat rooms using channels to organize the message traffic.

View docs
Edit and delete a chat message

Edit and delete a chat message

Edit the contents of a chat message, or enable soft and hard delete of the chat message.

View docs
Message batching

Message batching

Reduce the costs of high-scale, high frequency chat messaging apps.

View docs
Chat room reactions

Chat room reactions

Ability to react to the entire room, with server-side aggregated counts of those reactions.

View docs
Typing indicator

Typing indicator

Show when a chat participant starts and stops typing with a typing indicator.

View docs
Moderation

Moderation

You can quickly set-up moderation with our Hive integration for both synchronous and asynchronous architectures.

View docs

Online status

Update your UI according to their realtime presence state.

View docs

Last seen

Update your UI with the time since a participant was last active in your application.

View docs

Message reactions

Ability to add and remove a reaction to a chat message.

View docs

Read receipts

Update your UI to indicate whether a message has been read.

View docs

Authentication

Manage access controls for participants using authentication tokens and capabilities.

View docs

EXTEND WITH ABLY

Combine products to create unique realtime experiences

AblyPub/Sub

Flexible APIs and message guarantees for building any realtime interactive experience at serious scale.

Explore
Ably Pub/Sub
AblyChat

Rapidly launch the chat features with APIs you’ll love. Optimized to handle massive user loads.

Explore
Ably Chat
AblySpaces

Create collaborative environments in a few lines of code, with our purpose-built APIs.

Explore
Ably Spaces
AblyAsset Tracking

Simple APIs to quickly add realtime asset tracking across last mile logistics.

Explore
Ably Asset Tracking
AblyLiveSync

Seamlessly sync your database and frontend, publishing changes reliably to millions of clients.

Explore
Ably LiveSync

Realtime sync for application state across multiple users and devices at any scale.

Ably LiveObjects

get inspired

Ably in action

How top brands leverage Ably to build interactive experiences that can handle millions of concurrent users.

Support chat

HubSpot use Ably to enable 128,000 businesses with live chat that just works.

Read customer story
Support chat

Group chat

Sportsbet relies on Ably to deliver live chat to its 'Bet With Mates' customers.

Read customer story
Group chat

Live streaming chat

17Live does amazing things for their amazing customers with Ably's amazing platform.

Read customer story
Live streaming chat

Pricing built for scale

Ably not only enables you to make the most of your budget, but also enjoy greater flexibility, faster build times and a quicker ROI.

Usage-based pricing

With billing by-the-minute, our pricing gives you granular control over your costs.

Volume discounts

The more you use the platform, the lower your overall cost becomes.

Full transparency

We bill for connections, messages and channels. Nothing more.

Cost optimization

We maximize your ROI by actively designing platform features targeted at reducing consumption.

When every message counts

Designed for enterprise

Get unmatched expertise paired with a host of value-adding options to keep your business-critical applications running at optimal performance.

HIPAA BAA

Compliance for your healthcare solution.

Premium support

24x7 tech support and incident management with sub 15 mins response times.

Firehose integrations

Available for Kafka, Pulsar and Kinesis.

Architectural guidance

Expert advice on how to balance cost and user-experience for your use-cases.

Dedicated cluster

Dedicated capacity in cloud infrastructure including networking resources and servers.

99.999% uptime

Uptime guarantee with SLA.

US/EU routing of data

Choose where your data is stored.

CNAME

Custom CNAME endpoints.

SSO and SCIM provisioning

Choose your own authentication provider.

SOCII

Information security compliance

Limitless capacity

Scale to billions.

Enterprise observability and analytics

Get the data and insights you need, including access to our Datadog integration.

Get more than just tech support

Know you're in safe hands with our award winning support. Gain a partner who'll collaborate with you to achieve your goals.

G2 Best Requirements Winter 2025G2 Best Support Winter 2025G2 High Performer Winter 2025G2 Users Most Likely to Recommend Winter 2025

engineered to perform

The definitive realtime experience platform of the internet

Performance

We focus on predictability of latencies to provide certainty in uncertain operating conditions.

<50ms

median roundtrip latency

550B+

messages delivered per month

Reliability

Designed to preserve continuity of service we ensure sufficient redundancy at a regional and global level.

5+ years

since last outage

99.999999%

message survivability

Scale

Elastic and highly-available. Ably is built to handle extreme scale and high concurrent connections.

1B+

connected devices per month

2T+

API operations per month

Network

Truly distributed global edge network. Delivers a globally consistent experience to users.

635

points of presence

11

globally distributed regions

Start building with Ably today