ListVoiceWidgetConversationsPostAPI is the POST body form of the list endpoint,
curl --request POST \
--url https://api.erdo.ai/v1/voice/widget-conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"canonical_lead_id": "<string>",
"cursor": "<string>",
"limit": 123,
"offset": 123,
"since": "<string>",
"until": "<string>",
"widget": "<string>"
}
'import requests
url = "https://api.erdo.ai/v1/voice/widget-conversations"
payload = {
"canonical_lead_id": "<string>",
"cursor": "<string>",
"limit": 123,
"offset": 123,
"since": "<string>",
"until": "<string>",
"widget": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
canonical_lead_id: '<string>',
cursor: '<string>',
limit: 123,
offset: 123,
since: '<string>',
until: '<string>',
widget: '<string>'
})
};
fetch('https://api.erdo.ai/v1/voice/widget-conversations', 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/widget-conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'canonical_lead_id' => '<string>',
'cursor' => '<string>',
'limit' => 123,
'offset' => 123,
'since' => '<string>',
'until' => '<string>',
'widget' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/voice/widget-conversations"
payload := strings.NewReader("{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.erdo.ai/v1/voice/widget-conversations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/widget-conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"conversations": [
{
"booked_at": "2023-11-07T05:31:56Z",
"booked_start": "2023-11-07T05:31:56Z",
"canonical_lead_id": "<string>",
"contact": {
"email": "<string>",
"email_alternative": "<string>",
"email_check": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name_check": "<string>",
"phone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"duration_seconds": -1,
"ended_at": "2023-11-07T05:31:56Z",
"has_transcript": true,
"lead_reference": "<string>",
"lead_saved_at": "2023-11-07T05:31:56Z",
"lead_status": "<string>",
"modality": "<string>",
"origin": "<string>",
"session_id": "<string>",
"topics": [
"<string>"
],
"transcript_summary": "<string>",
"widget": "<string>",
"widget_id": "<string>",
"widget_name": "<string>"
}
],
"count": 123,
"limit": 123,
"next_cursor": "<string>",
"offset": 123,
"public_key": "<string>",
"total": 123,
"turn_metrics_contract_version": 123,
"widget_id": "<string>",
"widget_name": "<string>"
}{
"code": "not_found",
"details": {},
"message": "<string>"
}API Reference
ListVoiceWidgetConversationsPostAPI is the POST body form of the list endpoint,
for callers that prefer a JSON body over query params.
POST
/
v1
/
voice
/
widget-conversations
ListVoiceWidgetConversationsPostAPI is the POST body form of the list endpoint,
curl --request POST \
--url https://api.erdo.ai/v1/voice/widget-conversations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"canonical_lead_id": "<string>",
"cursor": "<string>",
"limit": 123,
"offset": 123,
"since": "<string>",
"until": "<string>",
"widget": "<string>"
}
'import requests
url = "https://api.erdo.ai/v1/voice/widget-conversations"
payload = {
"canonical_lead_id": "<string>",
"cursor": "<string>",
"limit": 123,
"offset": 123,
"since": "<string>",
"until": "<string>",
"widget": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
canonical_lead_id: '<string>',
cursor: '<string>',
limit: 123,
offset: 123,
since: '<string>',
until: '<string>',
widget: '<string>'
})
};
fetch('https://api.erdo.ai/v1/voice/widget-conversations', 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/widget-conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'canonical_lead_id' => '<string>',
'cursor' => '<string>',
'limit' => 123,
'offset' => 123,
'since' => '<string>',
'until' => '<string>',
'widget' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/voice/widget-conversations"
payload := strings.NewReader("{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.erdo.ai/v1/voice/widget-conversations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/widget-conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"canonical_lead_id\": \"<string>\",\n \"cursor\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"widget\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"conversations": [
{
"booked_at": "2023-11-07T05:31:56Z",
"booked_start": "2023-11-07T05:31:56Z",
"canonical_lead_id": "<string>",
"contact": {
"email": "<string>",
"email_alternative": "<string>",
"email_check": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"name_check": "<string>",
"phone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"duration_seconds": -1,
"ended_at": "2023-11-07T05:31:56Z",
"has_transcript": true,
"lead_reference": "<string>",
"lead_saved_at": "2023-11-07T05:31:56Z",
"lead_status": "<string>",
"modality": "<string>",
"origin": "<string>",
"session_id": "<string>",
"topics": [
"<string>"
],
"transcript_summary": "<string>",
"widget": "<string>",
"widget_id": "<string>",
"widget_name": "<string>"
}
],
"count": 123,
"limit": 123,
"next_cursor": "<string>",
"offset": 123,
"public_key": "<string>",
"total": 123,
"turn_metrics_contract_version": 123,
"widget_id": "<string>",
"widget_name": "<string>"
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
Body
application/json
Response
Success response
request, read in the same snapshot as this page and independent of limit/offset/cursor. It is live: a conversation 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 dashboard tile counts without fetching every row.

