# CALL_ID=your_call_id
# API_KEY=your_api_key
curl -H "X-API-Key:$API_KEY" "https://api.vaanivoice.ai/api/call_details/$CALL_ID"
const CALL_ID = "outbound-1776774443-863aa698";
const API_KEY = "your_api_key";
const response = await fetch(
`https://api.vaanivoice.ai/api/call_details/${CALL_ID}`,
{
method: "GET",
headers: {
"X-API-Key": API_KEY,
},
}
);
const data = await response.json();
console.log(data);
import requests
CALL_ID = "outbound-1776774443-863aa698"
API_KEY = "your_api_key"
headers = {
"X-API-Key": API_KEY
}
response = requests.get(
f"https://api.vaanivoice.ai/api/call_details/{CALL_ID}",
headers=headers
)
print(response.json())
{
"transcription": "AGENT: Hi! You've reached our customer service. I am your assistant, how can I help you today?\n\n USER: Hello. What are you offering?\n\n AGENT: Namaste! We provide a platform where you can start any business...",
"entity": {
"Call_back": "No",
"Callback_time": null,
"issue_raised_unresolved_bool": "NO",
"issue_type_extraction": "N/A"
},
"conversation_eval": {},
"summary": "The agent opened the call with a friendly greeting and introduced themselves as the customer's assistant. The customer asked what was being offered. The agent explained the platform's business services.",
"call_eval_tag": "not enough data"
}
Calls
Get Call Details
Get detailed call information including transcript, entities, and evaluation
GET
/
api
/
call_details
/
{call_id}
# CALL_ID=your_call_id
# API_KEY=your_api_key
curl -H "X-API-Key:$API_KEY" "https://api.vaanivoice.ai/api/call_details/$CALL_ID"
const CALL_ID = "outbound-1776774443-863aa698";
const API_KEY = "your_api_key";
const response = await fetch(
`https://api.vaanivoice.ai/api/call_details/${CALL_ID}`,
{
method: "GET",
headers: {
"X-API-Key": API_KEY,
},
}
);
const data = await response.json();
console.log(data);
import requests
CALL_ID = "outbound-1776774443-863aa698"
API_KEY = "your_api_key"
headers = {
"X-API-Key": API_KEY
}
response = requests.get(
f"https://api.vaanivoice.ai/api/call_details/{CALL_ID}",
headers=headers
)
print(response.json())
{
"transcription": "AGENT: Hi! You've reached our customer service. I am your assistant, how can I help you today?\n\n USER: Hello. What are you offering?\n\n AGENT: Namaste! We provide a platform where you can start any business...",
"entity": {
"Call_back": "No",
"Callback_time": null,
"issue_raised_unresolved_bool": "NO",
"issue_type_extraction": "N/A"
},
"conversation_eval": {},
"summary": "The agent opened the call with a friendly greeting and introduced themselves as the customer's assistant. The customer asked what was being offered. The agent explained the platform's business services.",
"call_eval_tag": "not enough data"
}
Get Call Details
Get detailed call information including transcript, extracted entities, conversation evaluation, and AI-generated summary. Theuser_id and client_name are automatically resolved from your API key — you only need to provide the call_id.
Parameters
string
required
The unique call ID (e.g.,
outbound-1776774443-863aa698)Request Example
# CALL_ID=your_call_id
# API_KEY=your_api_key
curl -H "X-API-Key:$API_KEY" "https://api.vaanivoice.ai/api/call_details/$CALL_ID"
const CALL_ID = "outbound-1776774443-863aa698";
const API_KEY = "your_api_key";
const response = await fetch(
`https://api.vaanivoice.ai/api/call_details/${CALL_ID}`,
{
method: "GET",
headers: {
"X-API-Key": API_KEY,
},
}
);
const data = await response.json();
console.log(data);
import requests
CALL_ID = "outbound-1776774443-863aa698"
API_KEY = "your_api_key"
headers = {
"X-API-Key": API_KEY
}
response = requests.get(
f"https://api.vaanivoice.ai/api/call_details/{CALL_ID}",
headers=headers
)
print(response.json())
Response
Success Response (200)
{
"transcription": "AGENT: Hi! You've reached our customer service. I am your assistant, how can I help you today?\n\n USER: Hello. What are you offering?\n\n AGENT: Namaste! We provide a platform where you can start any business...",
"entity": {
"Call_back": "No",
"Callback_time": null,
"issue_raised_unresolved_bool": "NO",
"issue_type_extraction": "N/A"
},
"conversation_eval": {},
"summary": "The agent opened the call with a friendly greeting and introduced themselves as the customer's assistant. The customer asked what was being offered. The agent explained the platform's business services.",
"call_eval_tag": "not enough data"
}
string
Full conversation transcript with speaker labels (
AGENT: / USER:)object
Extracted entities from the call
Show Entity Properties
Show Entity Properties
object
Conversation evaluation metrics (structure varies by agent configuration)
string
AI-generated summary of the call conversation
string | null
Evaluation tag assigned to the call (e.g.,
"vkyc_completed_already", "not enough data")Not Yet Processed
If the call has not been post-processed yet, the response fields will indicate unavailability:{
"transcription": "Transcript is not available for further evaluations.",
"entity": "Transcript is not available for further evaluations.",
"conversation_eval": "Transcript is not available for further evaluations.",
"summary": "Transcript is not available for further evaluations.",
"call_eval_tag": null
}
Validation Error (422)
{
"detail": [
{
"loc": ["path", "call_id"],
"msg": "field required",
"type": "value_error.missing"
}
]
}

