Get a call
curl --request GET \
--url https://api.osvi.ai/v1/call/{id} \
--header 'API-Token: <api-key>'import requests
url = "https://api.osvi.ai/v1/call/{id}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://api.osvi.ai/v1/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.osvi.ai/v1/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 => [
"API-Token: <api-key>"
],
]);
$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.osvi.ai/v1/call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
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.osvi.ai/v1/call/{id}")
.header("API-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.osvi.ai/v1/call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"call_id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"agent_uuid": "agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og",
"agent_name": "Appointment Reminder",
"phone_number": "+919876543210",
"from_number": "+911140001234",
"status": "picked",
"call_type": "outbound",
"duration_seconds": 42,
"call_ended_by": "agent",
"call_ended_reason": "assistant-ended-call",
"campaign_id": 7,
"campaign_upload_id": 19,
"tag": {
"id": 12,
"name": "interested",
"color_code": "#22c55e"
},
"created_at": "2026-06-12T09:30:00+05:30",
"call_picked_at": "2026-06-12T09:30:04+05:30",
"caller_name": "Ravi Kumar",
"retry_count": 0,
"summary": "The customer confirmed their appointment for Friday at 4 PM.",
"data_captured": {
"email": "ravi@example.com",
"confirmed": true
},
"post_call_analysis": {
"sentiment": "positive",
"callback_required": false
}
}
}{
"success": false,
"error": "Invalid API token"
}{
"success": false,
"error": "call_not_found",
"details": null
}Calls
Get a Call
Returns the full record for a single call, including the AI summary, extracted data, and structured analysis. This is the same information delivered by post-call webhooks, retrievable on demand.
GET
/
v1
/
call
/
{id}
Get a call
curl --request GET \
--url https://api.osvi.ai/v1/call/{id} \
--header 'API-Token: <api-key>'import requests
url = "https://api.osvi.ai/v1/call/{id}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://api.osvi.ai/v1/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.osvi.ai/v1/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 => [
"API-Token: <api-key>"
],
]);
$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.osvi.ai/v1/call/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
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.osvi.ai/v1/call/{id}")
.header("API-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.osvi.ai/v1/call/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"call_id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"agent_uuid": "agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og",
"agent_name": "Appointment Reminder",
"phone_number": "+919876543210",
"from_number": "+911140001234",
"status": "picked",
"call_type": "outbound",
"duration_seconds": 42,
"call_ended_by": "agent",
"call_ended_reason": "assistant-ended-call",
"campaign_id": 7,
"campaign_upload_id": 19,
"tag": {
"id": 12,
"name": "interested",
"color_code": "#22c55e"
},
"created_at": "2026-06-12T09:30:00+05:30",
"call_picked_at": "2026-06-12T09:30:04+05:30",
"caller_name": "Ravi Kumar",
"retry_count": 0,
"summary": "The customer confirmed their appointment for Friday at 4 PM.",
"data_captured": {
"email": "ravi@example.com",
"confirmed": true
},
"post_call_analysis": {
"sentiment": "positive",
"callback_required": false
}
}
}{
"success": false,
"error": "Invalid API token"
}{
"success": false,
"error": "call_not_found",
"details": null
}⌘I
