GetVoiceCallAPI mirrors erdo_voice_call_get, returning the transcript, the
curl --request GET \
--url https://api.erdo.ai/v1/voice/calls/{callID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/voice/calls/{callID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/voice/calls/{callID}', 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.erdo.ai/v1/voice/calls/{callID}",
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: Bearer <token>"
],
]);
$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.erdo.ai/v1/voice/calls/{callID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.erdo.ai/v1/voice/calls/{callID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/calls/{callID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"call_id": "<string>",
"call_successful": "<string>",
"consent_basis": "<string>",
"contact": {
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"direction": "<string>",
"duration_seconds": -1,
"ended_at": "2023-11-07T05:31:56Z",
"from_number": "<string>",
"has_transcript": true,
"instructions": "<string>",
"lead_saved_at": "2023-11-07T05:31:56Z",
"lead_status": "<string>",
"provider_agent_id": "<string>",
"recipient_name": "<string>",
"status": "<string>",
"to_number": "<string>",
"transcript_json": {},
"transcript_summary": "<string>",
"transcript_text": "<string>",
"turns": [
{
"after_knowledge_result": true,
"after_tool_result": true,
"cache_read_tokens": 123,
"input_tokens": 123,
"llm_override": "<string>",
"models": [
"<string>"
],
"output_tokens": 123,
"rescued": true,
"time_in_call_secs": 123,
"tool_calls": [
"<string>"
],
"tool_result_chars": 123,
"ttfb_seconds": 123,
"turn_index": 123
}
]
}{
"code": "not_found",
"details": {},
"message": "<string>"
}API Reference
GetVoiceCallAPI mirrors erdo_voice_call_get, returning the transcript, the
structured per-turn LLM metrics (`turns`), and the lead the call produced (`contact`, `lead_status`, `lead_saved_at` — see the list endpoint). The call id is a provider conversation id (“conv_…”), which travels in the path.
GET
/
v1
/
voice
/
calls
/
{callID}
GetVoiceCallAPI mirrors erdo_voice_call_get, returning the transcript, the
curl --request GET \
--url https://api.erdo.ai/v1/voice/calls/{callID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/voice/calls/{callID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/voice/calls/{callID}', 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.erdo.ai/v1/voice/calls/{callID}",
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: Bearer <token>"
],
]);
$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.erdo.ai/v1/voice/calls/{callID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.erdo.ai/v1/voice/calls/{callID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/calls/{callID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"call_id": "<string>",
"call_successful": "<string>",
"consent_basis": "<string>",
"contact": {
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"direction": "<string>",
"duration_seconds": -1,
"ended_at": "2023-11-07T05:31:56Z",
"from_number": "<string>",
"has_transcript": true,
"instructions": "<string>",
"lead_saved_at": "2023-11-07T05:31:56Z",
"lead_status": "<string>",
"provider_agent_id": "<string>",
"recipient_name": "<string>",
"status": "<string>",
"to_number": "<string>",
"transcript_json": {},
"transcript_summary": "<string>",
"transcript_text": "<string>",
"turns": [
{
"after_knowledge_result": true,
"after_tool_result": true,
"cache_read_tokens": 123,
"input_tokens": 123,
"llm_override": "<string>",
"models": [
"<string>"
],
"output_tokens": 123,
"rescued": true,
"time_in_call_secs": 123,
"tool_calls": [
"<string>"
],
"tool_result_chars": 123,
"ttfb_seconds": 123,
"turn_index": 123
}
]
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).
Path Parameters
Response
Success response
ones the leads dataset has columns for; there is deliberately no company, because nothing downstream would use it.
Show child attributes
Show child attributes
Required range:
-2147483648 <= x <= 2147483647verbatim. Null when no transcript was captured.
("user: ...\nagent: ..."), shared with the widget read surface.
same projection the widget conversation read returns.
Show child attributes
Show child attributes

