Get Call Details
curl --request GET \
--url https://api.agents.timepay.ai/api/v1/communication/call/{call_id} \
--header 'Authorization: <authorization>'import requests
url = "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.agents.timepay.ai/api/v1/communication/call/{call_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.agents.timepay.ai/api/v1/communication/call/{call_id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agents.timepay.ai/api/v1/communication/call/{call_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body200 OK
{
"success": true,
"data": {
"call_id": "call_a1b2c3d4e5",
"name": "John Wick",
"campaign_id": "camp_abc123",
"campaign_name": "August EMI Reminder Campaign",
"agent_id": "agent_abc123",
"loan_id": "LOAN-2025-00123",
"from": "+918001234567",
"to": "9876543210",
"direction": "outbound",
"status": "Contacted",
"disposition": "promise_to_pay",
"disposition_id": "disp_001",
"duration": 145,
"start_time": "2025-08-15T10:30:00.000Z",
"end_time": "2025-08-15T10:32:25.000Z",
"recording_id": "97gfaf-51b4-87t6-aa33-31b12075e2f3",
"transcript_id": "39de3ba4-51b4-47e4-aa33-31b12075e2f3",
"summary": "Customer acknowledged the pending EMI of ₹12,500 due on August 15 and promised to deposit the amount by tomorrow.",
"extracted_data": {
"emi_amount": 12500,
"emi_due_date": "2025-08-15",
"promise_to_pay_date": "2025-08-16"
}
}
}
{
"success": false,
"message": "call_id is required and must be a string"
}
{
"success": false,
"message": "Call not found"
}
{
"success": false,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}
Details
Get Call Details
Retrieve detailed information about a specific voice call including transcript, recording reference, and call metadata.
Get Call Details
curl --request GET \
--url https://api.agents.timepay.ai/api/v1/communication/call/{call_id} \
--header 'Authorization: <authorization>'import requests
url = "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.agents.timepay.ai/api/v1/communication/call/{call_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agents.timepay.ai/api/v1/communication/call/{call_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.agents.timepay.ai/api/v1/communication/call/{call_id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agents.timepay.ai/api/v1/communication/call/{call_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body200 OK
{
"success": true,
"data": {
"call_id": "call_a1b2c3d4e5",
"name": "John Wick",
"campaign_id": "camp_abc123",
"campaign_name": "August EMI Reminder Campaign",
"agent_id": "agent_abc123",
"loan_id": "LOAN-2025-00123",
"from": "+918001234567",
"to": "9876543210",
"direction": "outbound",
"status": "Contacted",
"disposition": "promise_to_pay",
"disposition_id": "disp_001",
"duration": 145,
"start_time": "2025-08-15T10:30:00.000Z",
"end_time": "2025-08-15T10:32:25.000Z",
"recording_id": "97gfaf-51b4-87t6-aa33-31b12075e2f3",
"transcript_id": "39de3ba4-51b4-47e4-aa33-31b12075e2f3",
"summary": "Customer acknowledged the pending EMI of ₹12,500 due on August 15 and promised to deposit the amount by tomorrow.",
"extracted_data": {
"emi_amount": 12500,
"emi_due_date": "2025-08-15",
"promise_to_pay_date": "2025-08-16"
}
}
}
{
"success": false,
"message": "call_id is required and must be a string"
}
{
"success": false,
"message": "Call not found"
}
{
"success": false,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}
Headers
string
required
Bearer token for authentication (e.g.,
Bearer <your_token>).Path Parameters
string
required
The unique identifier of the call.
Response
boolean
Indicates whether the request was successful.
object
Call details object.
Show properties
Show properties
string
Unique call identifier.
string
Customer’s name as specified in campaign data
string
Campaign the call belongs to.
string
Campaign Name the call belongs to.
string
AI agent that handled the call.
string
Present only for Collection organizations. Unique loan identifier of the customer.
string
Present only for Lead Generation organizations. Unique lead identifier of the customer.
string
Caller/sender phone number.
string
Customer’s phone number.
string
Call direction:
outbound or inbound.string
Call status.
Show possible values
Show possible values
Contacted— Call connected and finished normally.No Contact— Customer did not answer.Failed— Call could not be placed.
string
Call disposition/outcome set by the agent (e.g.,
promise_to_pay, callback_requested, not_interested).string
Disposition configuration ID.
number
Total call duration in seconds.
string
Call start timestamp (ISO 8601).
string
Call end timestamp (ISO 8601).
string
Recording ID. Use the Get Recording endpoint to stream the audio.
string
Transcript ID. Use the Get Transcript endpoint to get the transcript in json format.
string
AI-generated call summary.
object
Data extracted by the AI agent during the conversation.
200 OK
{
"success": true,
"data": {
"call_id": "call_a1b2c3d4e5",
"name": "John Wick",
"campaign_id": "camp_abc123",
"campaign_name": "August EMI Reminder Campaign",
"agent_id": "agent_abc123",
"loan_id": "LOAN-2025-00123",
"from": "+918001234567",
"to": "9876543210",
"direction": "outbound",
"status": "Contacted",
"disposition": "promise_to_pay",
"disposition_id": "disp_001",
"duration": 145,
"start_time": "2025-08-15T10:30:00.000Z",
"end_time": "2025-08-15T10:32:25.000Z",
"recording_id": "97gfaf-51b4-87t6-aa33-31b12075e2f3",
"transcript_id": "39de3ba4-51b4-47e4-aa33-31b12075e2f3",
"summary": "Customer acknowledged the pending EMI of ₹12,500 due on August 15 and promised to deposit the amount by tomorrow.",
"extracted_data": {
"emi_amount": 12500,
"emi_due_date": "2025-08-15",
"promise_to_pay_date": "2025-08-16"
}
}
}
{
"success": false,
"message": "call_id is required and must be a string"
}
{
"success": false,
"message": "Call not found"
}
{
"success": false,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}

