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

GET

/api/analytics/chat/daily_department_chat_statistics

Daily Department Chat Statistics

Scope:

client

or

operator

Request Parameters

Query

A

date_from

required

The date to start the search from. Must be in YYYY-MM-DD format

A

date_to

required

The date to end the search at. Must be in YYYY-MM-DD format

Response

Schema

{}

payload

The daily department chat statistics

[]

{}

2

auto_invitations_accepted

The total number auto invitations accepted

A

avg_chat_time

The average chat time

2

avg_response_time

The average response time in seconds

A

avg_wait_time

The average wait time

A

challenge_score

The challenge score

2

chat_sessions

The total number of chat sessions

A

chat_time

The total chat time

A

date

The chat date

2

department_id

The department id

A

department_name

The department name

2

dropped_chats

The total number of dropped chats

A

email

The associated chat email

2

offline_messages

The total number of offline messages

2

proactive_chat_acceptences

The total number of proactive chat acceptances

2

proactive_chat_requests

The total number of proactive chat requests

2

sms_chats

The total number of sms chats

2

transfers_in

The total number of tranfers in

2

transfers_out

The total number of tranfers out

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/chat/daily_department_chat_statistics\?date_from\=2021-04-01\&date_to\=2021-04-30

example response

      
        

1

 {

2

   "payload": [{

3

     "auto_invitations_accepted"

: 2,

4

     "avg_chat_time"

: "00:02:01",

5

     "avg_response_time"

: 18,

6

     "avg_wait_time"

: "00:00:10",

7

     "challenge_score"

: "0.00"

8

     "chat_sessions"

: 5

9

     "chat_time"

: "00:54:03"

10

    "date"

: "04/30/2021"

11

    "department_id"

: 0

12

    "department_name"

: "Not assigned to a department"

13

    "dropped_chats"

: 0

14

    "email"

: "johndoe@livehelpnow.com"

15

    "offline_messages"

: 0

16

    "proactive_chat_acceptences"

: 2

17

    "proactive_chat_requests"

: 2

18

    "sms_chats"

: 3

19

    "transfers_in"

: 0

20

    "transfers_out"

: 0

21

  }...],

22

  "status": "ok"

23

 }