I am looking at a similar issue, trying to get an Amazon lamda function to utilise the Idratek Cortex API so that I can use and Amazon alexa Smart home skill.
I've had some success with controlling lights on/off using POST to /api/v1/json/Objects.json/objId?PortId=1 (using ports 5 & 6).
I'm now trying to get info on current state - although seems to need GET to /api/v1/json/Ports.json/objId/PortId - anyone found a good reference for the ports / properties etc.

Thanks,
A