Overview

This method is used to fetch the agents based on average response time.
(TBD)

Request

This section describes the information that is available in the request.

Method URL End Point
GET
​/public​/{streamId}​/analytics​/agents​/avg-first-response-time

Request Parameters

Path Parameters

Parameter Required Description Type/Value
streamId *  Y Stream ID
(e.g.  st-606c43de5e00ca5f4e27e38a)
String

Query Parameters

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
Default value : 10

Integer
offset  N

offset number
Default value : 0

Integer
agentGroupIds[]  N Agent group ids array[string]
agentIds[]  N List of user ids array[string]

Sample Request

TBD
[/vc_column_text]

Response

The following table describes the information that is available in the response.

Response Fields

Parameter Required/Optional Description

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/json

Sample Response

{
  "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
}
[/vc_column][/vc_row]

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed