To be honest, it’s pretty simple. Just open your terminal and run the API you want to execute.
Hexnode’s APIs are listed in the Hexnode API documentation:
https://www.hexnode.com/mobile-device-management/developers/
For example, if you want to run the api for the Scan device action:
Go to that Api in the documentation, and you’ll see both the HTTP request and the Shell command. You’ll want the shell command:
curl -H "Authorization: " -H "Content-Type: application/json" -d "{\"users\":[0],\"usergroups\":[4],\"devices\":[5,6],\"devicegroups\":[12]}" https://portalname.hexnodemdm.com/api/v1/actions/scan_device/
Just substitute the necessary details (like your Api key, portal Url, and relevant IDs), run it in your terminal, and you’ll see the result reflected in the portal.