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

auto_invitations_accepted

The total number auto invitations accepted

2

auto_invitations_shown

The total number auto invitations shown

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

     "auto_invitations_accepted"

: 0,

4

     "auto_invitations_shown"

: 1,

5

     "average_wait_time"

: "00:00:10",

6

     "avg_session_chat_time"

: "00:00:07",

7

     "challenge_score"

: "0.00"

8

     "chat_sessions"

: 24

9

     "chat_time"

: "01:56:10"

10

    "chats_handled"

: 30

11

    "client_id"

: 10

12

    "date"

: "04/30/2021"

13

    "dropped_chats"

: 0

14

    "facebook_chats"

: 0

15

    "name"

: "LiveHelpNow"

16

    "offline_messages"

: 3

17

    "proactive_chat_acceptences"

: 0

18

    "proactive_chat_requests"

: 1

19

    "sms_chats"

: 3

20

    "sms_messages"

: 10

21

    "sms_out"

: 0

22

    "trigger_invites"

: 41

23

    "trigger_invites_accepted"

: 2

24

  }...],

25

  "status": "ok"

26

 }