Presence
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?
User Online state
Deliver instantaneous status updates whenever user state changes for any number of connected users across related apps.
Audience count and location
Detect and update connected user counts and locations.
Battery State Notifications
Monitor device battery state, and trigger events when thresholds are met.
Functions
Trigger powerful serverless functions to run business logic whenever a user connects or disconnects.
Webhooks
Configure PubNub to callback to your server (or any REST API) whenever a user state changes.
Presence Management
Track specific Presence events such as: Join, Leave, TimeOut, State-Change, and Intervals. Add Channel Patterns or Channel Groups, specify the events to track for each group, and more
Frequently Asked Questions
How do I turn Presence on in Portal?
I just turned Presence on my portal now what?
What are the queries API available for Presence?
What are the events generated when Presence is enabled?
What is the purpose of the PNPRESS channel?
How do I get a client event for Presence?
How do I track if users are online or not?
What are the limits of Presence api calls?