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)
Your suggestion is one way to go, but the GetSessionsByFilter method can take a general filter, perhaps like SessionType = 'Access', or even more generic like 'GuestConnectedCount > -1'.
However, that is a pretty intensive call, especially with the number of endpoints you're querying. So not a call you'll want to make constantly.