Emphase Envoy via local API Calls

Anyone have luck doing this API Calls to Local Envoy? I want to get the status of the grid on or off since I have battery backup. The Integration does not have this entity. I try the curl command on the DOS window prompt with documentation on Enlighten API but no success. Any working examples using API calls on HA will be great help.