1-877-548-3001 Sign in About Contact
Developer

GET

/api/analytics/operators/stats

Daily operators statistics

Scope:

client

or

operator

Request Parameters

Query

A

from_date

required

start date for operators stats data (ex. 04/27/2019)

A

to_date

required

end date for operators stats data (ex. 04/27/2020)

Response

Schema

{}

payload

The operators stats data payload

{}

operator id

The unique id of the operator

{}

A

name

The operators name

stats

The operators statistics

[]

{}

date

The date correspoding to the operator statistics

{}

2

avg_chat_time_sec

The operators average chat time in seconds

A

avg_customer_wait_time_sec

The operators average customer wait time in seconds

2

avg_response_time_sec

The operators average response time in seconds

2

chat_tranfers

The total chat transfers for the operator

2

chats_missed

The total operator chats missed

2

proactive_chat_requests

The total proactive chat requests

2

proactive_chat_requests_accepted

The total proactive chat request accepted

A

total_chat_time

The total operator chat time

2

total_chats

The total operator chats

A

total_online_time

The total operator time online

A

utilized_on_chat

The operator chat utlization

A

status

The system response status. Will be ok or error

curl

example request

1

curl -H "Authorization: Bearer {{Oauth Token}}"

2

https://developer.livehelpnow.net/api/analytics/operators/stats\?from_date\=04/27/2019\&to_date\=04/27/2020

example response

      
        
          1 {
        
        
          2   "payload": {
        
        
          3     "1": {
        
        
          4       "name": "John Doe",
        
        
          5       "stats": [{
        
        
          6         "2020-04-27": {
        
        
          7           "avg_chat_time_sec": 0,
        
        
          8           "avg_customer_wait_time_sec": "00:00:05",
        
        
          9           "avg_response_time_sec": 5,
        
        
          10          "chat_tranfers": 2,
        
        
          11          "chats_missed": 0,
        
        
          12          "proactive_chat_requests": 2,
        
        
          13          "proactive_chat_requests_accepted": 1,
        
        
          14          "total_chat_time": "00:01:05",
        
        
          15          "total_chats": 10,
        
        
          16          "total_online_time": "08:00:00",
        
        
          17          "avg_chat_time_sec": "100%",
        
        
          18        }
        
        
          19      }]
        
        
          20    }
        
        
          21  },
        
        
          22  "status": "ok"
        
        
          23 }