| audiostats |
-
callId (string): Unique ID of the voice call
within the telephony system. For example, if the telephony system is Amazon Connect, this
value is the contact ID.
-
stats (string): Media type. Possible values are:
“inputChannelStats” and “outputChannelStats”.
-
packetsLost (int): Number of packets lost during
transmission.
-
packetsCount (int): Number of packets
transmitted.
-
jitterBufferMillis (int): Time it took to buffer
incoming packets, measured in milliseconds.
-
roundTripTimeMillis (int): Time it took for the
packet to travel to and from the receiver, measured in milliseconds.
-
statsCount (int): Number of times the statistics
have been collected or reported. For internal use only.
|
| callstarted |
-
callId (string): Unique call identifier value.
-
callType (string): "inbound" or "outbound".
-
participant (string): Phone number.
|
| callconnected |
-
callId (string): Unique call identifier value.
-
callType (string): "inbound" or "outbound".
-
participant (string): Phone number.
|
| callended |
-
callId (string): Unique call identifier value.
|
| hold |
|
| resume |
|
| mute |
-
callId (string): Unique call identifier value.
|
| unmute |
-
callId (string): Unique call identifier value.
|
| participantadded |
|
| participantremoved |
-
callId (string): Unique call identifier value.
-
participant (string): Phone number or Amazon
Quick Connect name.
|
| conference |
-
callId (string): Unique call identifier value.
|
| swap |
-
callId (string): Unique call identifier value.
|
| pauserecording |
-
callId (string): Unique call identifier value.
|
| resumerecording |
-
callId (string): Unique call identifier value.
|
| wrapupended |
-
callId (string): Unique call identifier value.
|
| transcript |
-
id (string): Unique identifier for the
message.
-
clientSentTimestamp (number): Date and time
(in UTC) when the client sent the content. Measured in milliseconds since the Unix
epoch.
-
serverReceivedTimestamp (number): Date and
time (in UTC) when the server received the content. Measured in milliseconds since the
Unix epoch.
-
content (object): Information about the
content.
-
content.formatType (string): Content format type
of the transcript. Possible value is “Text”.
-
content.text (string) The body text of the
transcript.
-
callId (string): Unique ID of the voice call
within the telephony system. For example, if the telephony system is Amazon Connect, this
value is the contact ID.
-
sender (object): Information about the user whose
action initiated the event.
-
sender.role (string): Role of the user whose
action initiated the event. Possible values are "Agent" and "Supervisor".
For example:
1{
2 "type": "transcript",
3 "detail": {
4 "id": "3115b389-ab50-400e-b8ba-978b7ec51d7a"
5 "clientSentTimestamp": 1594944652299,
6 "serverReceivedTimestamp": 1594944652328,
7 "content":{
8 "formatType": "Text",
9 "text": "Hello"
10 },
11 "callId": "c5d93c19-e03b-44f8-85e6-a11f02e70c45",
12 "sender": {
13 "role": "Agent"
14 }
15 }
16}
|
| flagraise |
-
id (string): Unique call identifier value.
-
clientSentTimestamp (number): Date and time
(in UTC) when the client sent the content. Measured in milliseconds since the Unix
epoch.
-
serverReceivedTimestamp (number): Date and
time (in UTC) when the server received the content. Measured in milliseconds since the
Unix epoch.
-
content (object): Information about the
content.
-
content.formatType (string): Content format
type of the raised flag. Possible value is “Text”.
-
content.text (string) The body text of the raised
flag.
-
callId (string): Unique conversation ID of the voice call
within the telephony system. For example, if the telephony system is Amazon Connect, this
value is the contact ID. For transferred calls, the conversation ID is the primary call ID.
-
sender (object): Information about the user whose
action initiated the event.
-
sender.role (string): Role of the user whose
action initiated the event. Possible values are "Agent" and "Supervisor".
-
sender.displayName (string): Name of the user
whose action initiated the event.
-
voiceCallId (string): Unique identifier of the
Salesforce voice call in which a rep raised the flag. For transferred calls, the new call
segment has a different voiceCallId from the original call.
For example:
1{
2 "type": "flagraise",
3 "detail": {
4 "id": "3115b389-ab50-400e-b8ba-978b7ec51d7a"
5 "clientSentTimestamp": 1594944652299,
6 "serverReceivedTimestamp": 1594944652328,
7 "content":{
8 "formatType": "Text",
9 "text": "The customer wants a credit note."
10 },
11 "callId": "c5d93c19-e03b-44f8-85e6-a11f02e70c45",
12 "sender": {
13 "role": "Agent",
14 "displayName": "Angela Agent"
15 },
16 "voiceCallId": "0LQRM0000006CSz"
17 }
|
| flaglower |
-
id (string): Unique call identifier value.
-
clientSentTimestamp (number): Date and time
(in UTC) when the client sent the content. Measured in milliseconds since the Unix
epoch.
-
serverReceivedTimestamp (number): Date and
time (in UTC) when the server received the content. Measured in milliseconds since the
Unix epoch.
-
content (object): Information about the
content.
-
content.formatType (string): This value is
NULL because it doesn't apply to the flaglower
event.
-
content.text (string) This value is NULL because it doesn't apply to the flaglower event.
-
callId (string): Unique conversation ID of the voice call
within the telephony system. For example, if the telephony system is Amazon Connect, this
value is the contact ID. For transferred calls, the conversation ID is the primary call ID.
-
sender (object): Information about the user whose
action initiated the event.
-
sender.role (string): Role of the user whose
action initiated the event. Possible values are "Agent" and "Supervisor".
-
sender.displayName (string): Name of the user
whose action initiated the event.
-
voiceCallId (string): Unique identifier of the
Salesforce voice call in which a rep lowered the flag. For transferred calls, the new call
segment has a different voiceCallId from the original call.
For example:
1{
2 "type": "flaglower",
3 "detail": {
4 "id": "3115b389-ab50-400e-b8ba-978b7ec51d7a"
5 "clientSentTimestamp": 1594944652299,
6 "serverReceivedTimestamp": 1594944652328,
7 "content":{
8 "formatType": NULL,
9 "text": NULL
10 },
11 "callId": "c5d93c19-e03b-44f8-85e6-a11f02e70c45",
12 "sender": {
13 "role": "Supervisor",
14 "displayName": "Samir Supervisor"
15 },
16 "voiceCallId": "0LQRM0000006CSz"
17 }
|
| note |
-
id (string): Unique call identifier value.
-
clientSentTimestamp (number): Date and time
(in UTC) when the client sent the content. Measured in milliseconds since the Unix
epoch.
-
serverReceivedTimestamp (number): Date and
time (in UTC) when the server received the content. Measured in milliseconds since the
Unix epoch.
-
content (object): Information about the
content.
-
content.formatType (string): Content format type
of the note. Possible value is “Text”.
-
content.text (string) The body text of the
note.
-
callId (string): Unique ID of the voice call
within the telephony system. For example, if the telephony system is Amazon Connect, this
value is the contact ID.
-
sender (object): Information about the user whose
action initiated the event.
-
sender.role (string): Role of the user whose
action initiated the event. Possible values are "Agent" and "Supervisor".
-
sender.displayName (string): Name of the user
whose action initiated the event.
For example:
1{
2 "type": "note",
3 "detail": {
4 "id": "3115b389-ab50-400e-b8ba-978b7ec51d7a"
5 "clientSentTimestamp": 1594944652299,
6 "serverReceivedTimestamp": 1594944652328,
7 "content":{
8 "formatType": "Text",
9 "text": "The customer wants a refund or store credit."
10 },
11 "callId": "c5d93c19-e03b-44f8-85e6-a11f02e70c45",
12 "sender": {
13 "role": "Agent",
14 "displayName": "Angela Agent"
15 }
16}
|