Automatic real-time detection of device and user online state

Enhance user experience with easy-to-use APIs for online/offline tracking, real-time user count, and more.

What can you do with Presence?

Status Icon

User Online state

Deliver instantaneous status updates whenever user state changes for any number of connected users across related apps.

Audience Icon

Audience count and location

Detect and update connected user counts and locations.

Battery Icon

Battery State Notifications

Monitor device battery state, and trigger events when thresholds are met.

Functions Icon


Trigger powerful serverless functions to run business logic whenever a user connects or disconnects.

Server Icon


Configure PubNub to callback to your server (or any REST API) whenever a user state changes.

Where is Presence Used?

Summary Icon

User Lists - Create live-updating lists of online and offline users, like chat contact lists.

Read more

IOT Icon

IoT Device Management - Allow users to receive device status and control devices such as light bulbs, door locks, temperature sensors, and security cameras. 

Read more

Ready to get started?