Comet Backup API

Just asking here, I am sure there might be a better place, but if anyone knows that would be great. I am looking into using comet backup API. Right now, I have some things working such as downloading the client, installing it, and performing a check.

I want to expand on this script and I see there are other API calls for uninstalling, running back ups, canceling jobs, etc. The problem is I am missing the link between API calls for the client side of things. For example, how would one get the Device/TargetID for the device that you are running the script against to perform an action? Does anyone know how to make that link between the two?

I would’ve though they would have an API command to request it against the Client → Get Devices → Compare Device Names for ID → then run the commend for action using that ID.