Skip to main content
Back to API List Use this API to retrieve call volume details associated with a specified collection point for a given interval. The response includes fields mapped to specific field names relevant to the Workforce Management (WFM) client.
MethodPOST
Endpointhttps://{{host}}/agentassist/api/public/analytics/account/{{AccountId}}/callvolume
Content-Typeapplication/json
Authorizationauth: {{JWT}} See How to generate the JWT Token.
API ScopeWFM Integration

Path Parameters

ParameterDescriptionType
hostEnvironment URL. For example: https://platform.kore.aistring, required
AccountIdUnique identifier for the account.string, required

Sample Request

curl --location 'https://{{host}}/agentassist/api/public/analytics/account/636f5b36bcf8a8c7101exxxx/callvolume' \
--header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLWNhYzQ3NGEzLTBhYTktNWM2Yi1iMzA2LTMyNjNhM2E1YWQxYSJ9.W5HbU67WJ4YNaWtkZJsyLkxvq8nnK3sHb3StnUCxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "orgId": "o-01aedac2-26fb-5bdb-bb0f-f71292caxxxx",
    "fromTimeStamp": "2023-01-07T09:45:00Z",
    "toTimeStamp": "2023-01-08T10:00:00Z",
    "skip": 0,
    "limit": 2
}'

Request Body Parameters

ParameterDescriptionType
orgIdOrganization ID associated with the account.String, required
fromTimeStampStart date and time in ISO 8601 format (for example, 2023-01-07T09:45:00Z). Optional if fetching call records from the first available record for initial syncs.String, optional
toTimeStampEnd date and time in ISO 8601 format (for example, 2023-01-08T10:00:00Z).String, required
skipNumber of results to skip for pagination. Default is 0.Number, optional
limitNumber of contact records to retrieve (for example, 2).Number, optional

Sample Response

{
    "hasMore": false,
    "CallVolumeUpdate": [
        {
            "_id": "647868bfc0cf4c7b7671xxxx",
            "intervalStartTimeStamp": "2023-06-01T09:45:00.000Z",
            "orgId": "o-8aa0607b-1d81-504a-9eb2-5a39f133xxxx",
            "queueId": "qu-6c47543-19ca-49ac-a085-2292bba5xxxx",
            "source": "rtm",
            "__v": 0,
            "intervalEndTimeStamp": "2023-06-01T10:00:00.000Z",
            "offeredContacts": 1,
            "answeredContacts": 1,
            "maxQueueHoldTimeAnswered": 34035,
            "queueHoldTimeAnswered": 34035,
            "acwDuration": 3949,
            "completedContacts": 1,
            "conversationHandleTime": 68043,
            "conversationTalkTime": 64094,
            "holdDuration": 0,
            "messageCount": 0,
            "savedMessageCount": 0,
            "csatResponses": 1,
            "csatScore": 1,
            "abandonedContacts": 1,
            "maxqueueHoldTimeAbandoned": 180150,
            "queueHoldTimeAbandoned": 180150,
            "iId": "st-b6ff0557-e54b-5ac1-946f-2b003d9exxxx",
            "queueName": "custom day"
        }
    ],
    "totalCount": 1
}

Response Body Parameters

ParameterDescriptionType
hasMoreIndicates if there are more records to fetch.Boolean
CallVolumeUpdateList of objects representing individual call volume updates.Array
CallVolumeUpdate._idUnique identifier for the call volume record.String
CallVolumeUpdate.intervalStartTimeStampStart time of the interval in ISO 8601 format.String
CallVolumeUpdate.intervalEndTimeStampEnd time of the interval in ISO 8601 format.String
CallVolumeUpdate.orgIdOrganization ID associated with the call volume data.String
CallVolumeUpdate.queueIdQueue ID where the calls were handled.String
CallVolumeUpdate.sourceSource of the data (for example, "rtm" for real-time monitoring).String
CallVolumeUpdate.__vVersion key for the database document (for example, 0).Integer
CallVolumeUpdate.offeredContactsNumber of contacts offered to the queue during the interval.Integer
CallVolumeUpdate.answeredContactsNumber of contacts answered during the interval.Integer
CallVolumeUpdate.maxQueueHoldTimeAnsweredMaximum hold time in seconds for answered contacts.Integer
CallVolumeUpdate.queueHoldTimeAnsweredTotal queue hold time in seconds for answered contacts.Integer
CallVolumeUpdate.acwDurationAfter-call work duration in seconds.Integer
CallVolumeUpdate.completedContactsNumber of contacts completed during the interval.Integer
CallVolumeUpdate.conversationHandleTimeTotal handle time of the conversation in seconds.Integer
CallVolumeUpdate.conversationTalkTimeTotal talk time during the conversation in seconds.Integer
CallVolumeUpdate.holdDurationTotal hold duration in seconds during the call.Integer
CallVolumeUpdate.messageCountNumber of messages exchanged during the conversation.Integer
CallVolumeUpdate.savedMessageCountNumber of messages saved during the conversation.Integer
CallVolumeUpdate.csatResponsesNumber of CSAT survey responses collected.Integer
CallVolumeUpdate.csatScoreCSAT score from customer feedback (for example, 4).Integer
CallVolumeUpdate.abandonedContactsNumber of contacts abandoned during the interval.Integer
CallVolumeUpdate.maxqueueHoldTimeAbandonedMaximum hold time in seconds for abandoned contacts.Integer
CallVolumeUpdate.queueHoldTimeAbandonedTotal queue hold time in seconds for abandoned contacts.Integer
CallVolumeUpdate.iIdUnique instance ID for tracking the call or interaction.String
CallVolumeUpdate.queueNameName of the queue where the call or interaction took place.String