SparkTG

Agent Recent Calls Documentation

Agent Recent Calls

v1.0Moving to v2

This API is moving to v2

All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.

Moving to API v2

Agent Recent Calls

Get agent call history

Call Analyticsv1.01 Endpoint

Overview

Agent Recent Calls : GET : /agent-recent-calls

Available Endpoints

GET/agent-recent-calls

Key Parameters

recent_txn_id(List String)

40391936-ea2a-450e-89c0-529b6a8945a5,f95e0068-89a0-478f-b982-4562fcbadfff,11d6928b-80de-4b1b-97e5-e002667f8ad3

svc-id(Integer)

15

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/agent-recent-calls?svc-id=1&recent_txn_id=40391936-ea2a-450e-89c0-529b6a8945a5,f95e0068-89a0-478f-b982-4562fcbadfff,11d6928b-80de-4b1b-97e5-e002667f8ad3"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
[{"duration":"4","receivedBy":null,"note":"","disposition":"MISSED","xnid":"6c26516d-cef8-4246-acc7-faa0178a8ccd","recording":null,"time":"2019-04-0413:36:10","callType":"INBOUND","ivrData":""},{"dura...
View complete response format in Response section