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

GET

/api/analytics/chat/daily_account_chat_statistics

Daily Account 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

abandoned_chats

The total number of abandoned chats

2

auto_invitations_accepted

The total number auto invitations accepted

2

auto_invitations_shown

The total number auto invitations shown

A

average_greet_time

The average time before an operator's first message

A

average_wait_time

The average wait time

A

avg_session_chat_time

The average chat session time

A

challenge_score

The challenge score

2

chat_sessions

The total number of chat sessions

A

chat_time

The total chat time

2

chats_handled

The total number of chats handled

2

client_id

The client id

A

date

The date

2

dropped_chats

The total number of dropped chats

A

facebook_chats

The total number of facebook_chats

A

name

The name of the client

2

offline_messages

The total number of offline messages

2

proactive_chat_acceptences

The total number of proactive chat acceptences

2

proactive_chat_requests

TThe total number of proactive chat requests

2

sms_chats

The total number of sms chats

2

sms_messages

The total number of sms messages

2

sms_out

The total number of outgoing sms chats

2

trigger_invites

The total number of trigger invites

2

trigger_invites_accepted

The total number of trigger invites accepted

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

example response

      
        

1

 {

2

   "payload": [{

3

     "abandoned_chats"

: 0,

4

     "auto_invitations_accepted"

: 0,

5

     "auto_invitations_shown"

: 1,

6

     "average_greet_time"

: "00:00:21",

7

     "average_wait_time"

: "00:00:10",

8

     "avg_session_chat_time"

: "00:00:07",

9

     "challenge_score"

: "0.00",

10

     "chat_sessions"

: 24,

11

     "chat_time"

: "01:56:10",

12

     "chats_handled"

: 30,

13

     "client_id"

: 10,

14

     "date"

: "04/30/2021",

15

     "dropped_chats"

: 0,

16

     "facebook_chats"

: 0,

17

     "name"

: "LiveHelpNow",

18

     "offline_messages"

: 3,

19

     "proactive_chat_acceptences"

: 0,

20

     "proactive_chat_requests"

: 1,

21

     "sms_chats"

: 3,

22

     "sms_messages"

: 10,

23

     "sms_out"

: 0,

24

     "trigger_invites"

: 41,

25

     "trigger_invites_accepted"

: 2

26

  }...],

27

  "status": "ok"

28

 }