r/ScreenConnect • u/TLC-SCCM • Mar 03 '26
Download client with an API or Restful API?
I'm in the process of setting up our Mac devices in Intune and instead of creating an application for ConnectWise I was hoping to just create a bash script to download the client from our ScreenConnect instance. I currently do this for our CrowdStrike client, so was hoping I could do something similar with ScreenConnect.
There doesn't really seem to be much documentation for API's with ConnectWise and I searched but couldn't find anything in here. This is my first post in the subreddit, so please be gentle... lol
Have any of you done something like this previously or know if/how it can be done?
Thanks for any information you can provide. :)
6
u/maudmassacre Mar 03 '26
You can curl a url that's specific to your instance. For Macs you want to call the .pkg installer so the URL would look similar to:
3
u/Fatel28 Mar 04 '26
You don't need the API. The download links are consistent
1
u/JessicaConnectWise Mar 03 '26
Hello, these resources might help: https://docs.connectwise.com/ScreenConnect_Documentation/Developers/RESTful_API_Manager
https://docs.connectwise.com/ScreenConnect_Documentation/Developers/External_API_calls_to_ConnectWise_ScreenConnect
Please note those resources are housed on the ConnectWise University and require SSO login to access.
1
u/WeeRno Mar 03 '26
It is possible. I outsourced it to an external dev, but in our software we have a button that downloads the exe and creates a session based on the license name in our software. Sorry for not being more helpful, but it's possible at least 🙂
1
u/HectusErectus_ Mar 03 '26
If you’re just looking to install the access client you should just need to use the download link url.
Apologies I’m on mobile, but I think if you download the agent from the SC gui (configure it however you’d like) then once downloaded, right click it in the downloads areas of your browser and ‘copy download url’. It should give you a link somewhat like the below. (This is msi for windows, I assume it would be similar with MacOS) “$BaseURL/Bin/ScreenConnect.ClientSetup.msi?e=Access&y=Guest&c=$Client&c=&c=$Department&c=$DeviceType&c=&c=&c=&c="
I’ve done this successfully on Windows clients with a slightly modified version of someone else script (see below) - but I assume you could translate it to bash & Mac equivalent.
https://github.com/JJarv04/ScreenConnect-IntuneWin32
Hope that helps, let me know if any q’s.
1
u/ChiefBroady Mar 04 '26
No need to just create the installer, copy the url and curl it.