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

GET

/api/analytics/operator/{id}/stats

Daily operator statistics

Scope:

client

or

operator

Request Parameters

Path

2

id

required

The operators unique ID

Query

A

from_date

required

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

A

to_date

required

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

Response

Schema

{}

payload

The operator stats data

[]

{}

date

The date for the corresponding operator statistics

{}

2

avg_chat_time_sec

The operator average chat time in seconds

A

avg_customer_wait_time_sec

The operator average customer wait time in seconds

2

avg_response_time_sec

The operator average response time in seconds

2

chat_tranfers

The total operator chat transfers

2

chats_missed

The chat the operator missed

2

proactive_chat_requests

The total proactive chat requests

2

proactive_chat_requests_accepted

The total proactive chat requests accepted

A

total_chat_time

The total operator chat time

2

total_chats

The total operator chats

A

total_online_time

The operator total 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/operator/{{1234}}/stats\?from_date\=04/27/2019\&to_date\=04/27/2020

example response

      
        

1

 {

2

   "payload": [{

3

     "2019-04-29": {

4

       "avg_chat_time_sec"

: 181,

5

       "avg_customer_wait_time_sec"

: "00:00:03",

6

       "avg_response_time_sec"

: 19,

7

       "chat_tranfers"

: 0,

8

       "chats_missed"

: 0,

9

       "proactive_chat_requests"

: 1,

10

      "proactive_chat_requests_accepted"

: 0,

11

      "total_chat_time"

: "01:44:18",

12

      "total_chats"

: 36,

13

      "total_online_time"

: "12:54:14",

14

      "utilized_on_chat"

: "13%"

15

    }

16

  }],

17

  "status": "ok"

18

 }