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

GET

/api/visitor/{id}/call_history

Get the call history of the visitor

Scope:

operator

Request Parameters

Path

2

id

required

The id of the visitor to get call history for

Response

Schema

{}

payload

The visitor call history data

{}

calls

A list of calls for the visitor

[]

{}

A

created_time

The created time for the call

2

id

A unique identifier for the callback

A

system

The system (chat, ticket, call)

chats

A list of chats for the visitor

[]

{}

A

created_time

The created time for the chat

2

id

A unique identifier for the chat

A

system

The system (chat, ticket, call)

tickets

A list of tickets for the visitor

[]

{}

A

created_time

The created time for the ticket

2

id

A unique identifier for the ticket

A

subject

The ticket subject

A

system

The system (chat, ticket, call)

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/visitor/{{6f83df80-d39b-4a9f-a2b6-892d88ea4ab2-1-BDgXtjZ1}}/call_history

example response

      
        

1

 {

2

   "payload": {

3

     "calls": [{

4

       "created_time"

: "2021-01-17T21:04:19",

5

       "id"

: 123456789,

6

       "system"

: "call"

7

     }],

8

     "chats": [{

9

       "created_time"

: "2021-01-17T21:24:05",

10

      "id"

: 102317581,

11

      "system"

: "chat"

12

    }],

13

    "tickets": [{

14

      "created_time"

: "2021-01-10T09:32:19",

15

      "id"

: 102317563,

16

      "subject"

: "Testing ticket",

17

      "system"

: "ticket"

18

    }]

19

  },

20

  "status": "ok"

21

 }