curl --request GET \
--url https://api.erdo.ai/v1/voice/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/voice/calls"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/calls")
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{
"conversations": [
{
"call_id": "<string>",
"call_successful": "<string>",
"canonical_lead_id": "<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,
"lead_reference": "<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_summary": "<string>"
}
],
"count": 123,
"limit": 123,
"next_cursor": "<string>",
"offset": 123,
"total": 123
}{
"code": "not_found",
"details": {},
"message": "<string>"
}ListVoiceCallsAPI mirrors erdo_voice_call_list. The filters, the since/until
window (RFC3339 on `created_at`; since inclusive, until exclusive) and paging ride the query string; the organization always comes from the caller’s identity. `total` counts every call matching the filters and window, independent of paging.
Each row carries the lead the call produced: `contact` (null = not analysed yet, = analysed and nobody reachable, an object = the caller’s details, phone seeded from their caller ID), `lead_status` ("" while awaiting, then created | existing | disabled | test), `lead_saved_at`, and the permanent lead it resolved to as `canonical_lead_id` / `lead_reference` (both empty when none). The `canonical_lead_id` query parameter (a lead UUID or its 22-character reference) narrows to one lead’s calls.
curl --request GET \
--url https://api.erdo.ai/v1/voice/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/voice/calls"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/calls")
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{
"conversations": [
{
"call_id": "<string>",
"call_successful": "<string>",
"canonical_lead_id": "<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,
"lead_reference": "<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_summary": "<string>"
}
],
"count": 123,
"limit": 123,
"next_cursor": "<string>",
"offset": 123,
"total": 123
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).
Query Parameters
Response
Success response
Show child attributes
Show child attributes
canonical_lead_id, since/until) at the moment of THIS request, read in the same snapshot as this page and independent of limit/offset/cursor — the same field the widget conversation list carries. It is live: a call captured between two page requests changes it, so a walk across pages is complete when next_cursor is absent, never when the rows collected reach Total. It is what a reporting tile counts without fetching every row.

