Skip to main content
Generated
Mar 7, 2026
by
|
Auto-generate your docs now
Claim this site
Ably Realtime home page
Search...
⌘K
Ask AI
⌘I
Platform
Pub/Sub
Chat
Spaces
LiveObjects
AI Transport
LiveSync
API Reference
Ably Realtime home page
Search...
Navigation
Features
Occupancy
Get Started
About Chat
Getting started: Chat in JavaScript / TypeScript
Getting started: Chat with React
Getting started: Chat with React Native
Getting started: Chat with Android
Getting started: Chat with Swift
Core Concepts
SDK Setup
Chat Authentication
Connections
Rooms
Features
Messages
Message history
Share media
Message replies
Presence
Typing Indicators
Room Reactions
Occupancy
React Components
React UI Kit
React Hooks
Features
Occupancy
Occupancy enables you to view the number of users currently online in a room. This feature can be used to display user counts to highlight popular, or trending chat rooms.
Subscribe to Room Occupancy
Tab Title
Tab Title
Tab Title
Tab Title
Retrieve Room Occupancy
Tab Title
Tab Title
Tab Title
Next Steps
Learn about
messages
Explore
presence
Understand
typing indicators
Room Reactions
Previous
React UI Kit
Next
⌘I
Powered by Mintlify
Auto-generate your docs
Start now
On this page
Subscribe to Room Occupancy
Retrieve Room Occupancy
Next Steps
Build docs developers (and LLMs) love
Get started for free
Talk to us
Assistant
Responses are generated using AI and may contain mistakes.