Response
The following tables describe the information that is available in the response.
Response Fields
Parameter | Required/Optional | Description |
---|---|---|
This method is used to obtain the active conversations of a user.
This section describes the information that is available in the request.
Method | URL | End Point |
---|---|---|
GET |
TBD |
/public/{streamId}/analytics/manager/agent/{agentId}/active-conversations |
Parameter | Required | Description | Type/Value |
---|---|---|---|
streamId * | Y | Stream ID (e.g. st-606c43de5e00ca5f4e27e38a) |
String |
Parameter | Required | Description | Type/Value |
---|---|---|---|
agentGroupId | N |
Agent group id |
array[string] |
agentId * | Y |
Agent Id |
string |
source | N |
Conversation source type (chat or call or both) |
String |
TBD
Response
The following tables describe the information that is available in the response.
Parameter | Required/Optional | Description |
---|---|---|
Invoke the API with JWT in the header with the following syntax:
auth: {{JWT}}
application/json
{
"resolutionTime": 90,
"firstResponseTime": 50,
"responseTime": 50,
"firstName": "Amanda",
"lastName": "Jones",
"name": "Amanda Jones",
"profImage": "http://localhost/api/getMediaStream/market/f-2f4a86c4-f80f-5fac-99e1-78b0086c459f.png?n=8048409764&s=InNFTVBpZTZpcHpVTkJFLzIwMC9aemQ3d1NBakRVbXhuOGFWcmMrUGxDV2c9Ig$",
"onlineStatus": "available",
"active": [
{
"firstName": "Amanda",
"lastName": "Jones",
"skills": [
{
"id": "s-21223123",
"name": "Sales"
}
],
"startTime": "2021-04-01T05:45:00.803Z",
"conversationId": "c-1233",
"source": "call",
"profImage": "no-avatar",
"engagementTime": 1020,
"waitTime": 41445
}
],
"queue": [
{
"firstName": "Amanda",
"lastName": "Jones",
"skills": [
{
"id": "s-21223123",
"name": "Sales"
}
],
"startTime": "2021-04-01T05:45:00.803Z",
"conversationId": "c-1233",
"source": "call",
"profImage": "no-avatar",
"waitTime": 120
}
]
}