With the Kixie agent status API, you are able to get the status of an agent.

API call: https://apig.kixie.com/www/agent/status?apiKey=[CUSTOMER API KEY]&email=[user email address]

 

Logged in and not on a call
{
  "success": true,
  "result": {
    "onCall": 0,
    "registered": 1,
    "device": "Customer Device ID"
  }
}
Logged in and on a call
{
  "success": true,
  "result": {
    "onCall": 1,
    "registered": 1,
    "device": "Customer Device ID"
  }
}
Not logged into to Kixie/Offline
{
  "success": false,
  "result": {
    "onCall": 0,
    "registered": 0,
    "device": "Customer Device ID"
  }
}