Response
The following table describes the information that is available in the response.
Response Fields
Parameter | Required/Optional | Description |
---|---|---|
This method is used to fetch the agents based on average response time.
(TBD)
This section describes the information that is available in the request.
Method | URL | End Point |
---|---|---|
GET |
/public/{streamId}/analytics/agents/avg-first-response-time |
Parameter | Required | Description | Type/Value |
---|---|---|---|
streamId * | Y | Stream ID (e.g. st-606c43de5e00ca5f4e27e38a) |
String |
Parameter | Required | Description | Type/Value |
---|---|---|---|
source | N | Conversation source – chat or call | String |
startDate * | Y | Date in ISO81 format (e.g.. 2021-03-31T12:01:00.000Z) |
Date |
endDate * | Y | Date in ISO81 format | Date |
limit | N |
Maximum limit of records |
Integer |
offset | N |
offset number |
Integer |
agentGroupIds[] | N | Agent group ids | array[string] |
agentIds[] | N | List of user ids | array[string] |
TBD[/vc_column_text]
The following table describes 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
{
"results": [
{
"firstName": "first name",
"lastName": "last name",
"profImage": "http://example.com/x.png",
"userId": "u-afds-asdf-adf",
"avgFirstResponseTime": 10
}
],
"offset": 1,
"limit": 10,
"hasMore": false
}