How to Retrieve List of all Users Online in a Room using iFlyChat API

How to Retrieve List of all Users Online in a Room using iFlyChat API

You can use iFlyChat API to programmatically retrieve list of all users in a room. To do so, make an HTTP POST request to the following URL: https://api.iflychat.com/api/1.0/room/{id}/users, where {id} is the id of the room.

 

This HTTP request should include following parameters:

 

  • api_key - The private API key of your website  

 

The response would be JSON encoded. It would contain id, name and pic for all users present in the room.

Please note that you should be using an Enterprise plan in order to be able to use this feature.