Get the call history of the visitor
Scope:
operator
id
required
The id of the visitor to get call history for
payload
The visitor call history data
calls
A list of calls for the visitor
created_time
The created time for the call
id
A unique identifier for the callback
system
The system (chat, ticket, call)
chats
A list of chats for the visitor
created_time
The created time for the chat
id
A unique identifier for the chat
system
The system (chat, ticket, call)
tickets
A list of tickets for the visitor
created_time
The created time for the ticket
id
A unique identifier for the ticket
subject
The ticket subject
system
The system (chat, ticket, call)
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
}