GET /apps/{app_id}/channels/{channel_name}/users
Returns the list of user_id values currently subscribed to a presence channel. Only works on presence-* channels.
Response
{
"users": [
{ "id": "alice" },
{ "id": "bob" },
{ "id": "carol" }
]
}Order is not guaranteed.
Notes
- The endpoint returns user IDs only — not the
user_infopayload. To get full member info, subscribe to the presence channel from a server-side socket and inspectpusher:subscription_succeeded. - A user with multiple connected sockets (multi-tab) appears once in the response; presence dedupes by
user_id.
SDK shortcuts
- PHP —
$pusher->get('/channels/presence-room-42/users') - Node —
pusher.get({ path: '/channels/presence-room-42/users' }) - Python —
p.users_info('presence-room-42')
Dashboard alternative
In the Mawjly dashboard, Channels tab → click any presence channel → the right-side Sheet shows the live member list. Useful for incident response and “who’s actually on this channel right now.”