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?
Once you have created your app and keyset in Portal, you will be able to see presence under the Configuration Tab. You will have to toggle the option to enable presence for all the channels under that keyset.