API to pull all hosts from Screenconnect
Hi, I am looking for a way to pull down all active hosts, logged on user, machine name etc. Ideally everything you can see in the General tab within screen connect. I looked at the Bulk DataSync API and RESTful API Manager extension and I can’t find any details on how to get this using those methods.
I am essentially trying to pull similar data to what I can pull from Connect Wise Automate via APIs https://mysite.hostedrmm.com/cwa/api/v1/computers and https://mysite.hostedrmm.com/cwa/api/v1/computers/chassis
We are moving away from ConnectWise Automate but we are keeping screenconenct so I need to pull the data from Screenconenct instead.
(note, ConnectWise moderators edited this to anonymize the URL)
Hi Tor,
The RESTful API manager has a method 'GetSessionsByFilter' which can take "HostConnectedCount > 0" to return a list of sessions where a Host is connected. The Session object already contains the SessionGuestInfo stuff, but you can also use GetSessionDetailsBySessionID(Guid sessionID) to get session details.