Get a Call Log
curl --request GET \
--url https://api.example.com/v1/call-logs/:idimport requests
url = "https://api.example.com/v1/call-logs/:id"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/call-logs/: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.example.com/v1/call-logs/:id",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/call-logs/:id"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/call-logs/:id")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/call-logs/:id")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyCall logs
Get a Call Log
Retrieves the full details of a specific call.
GET
/
v1
/
call-logs
/
:id
Get a Call Log
curl --request GET \
--url https://api.example.com/v1/call-logs/:idimport requests
url = "https://api.example.com/v1/call-logs/:id"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/call-logs/: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.example.com/v1/call-logs/:id",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/call-logs/:id"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/call-logs/:id")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/call-logs/:id")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyGet a Call Log
Retrieves the full details of a specific call, including recording URL, transcript, summary, and disposition.Request
GET /v1/call-logs/:id
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | uuid | Yes | The unique identifier of the call log |
Example
curl -X GET \
"https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs/log-uuid-1" \
-H "Authorization: Bearer rchd_live_xxxxxxxxxxxx"
const callId = "log-uuid-1";
const response = await fetch(
`https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs/${callId}`,
{
headers: {
"Authorization": "Bearer rchd_live_xxxxxxxxxxxx"
}
}
);
const { data } = await response.json();
import requests
call_id = "log-uuid-1"
response = requests.get(
f"https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs/{call_id}",
headers={"Authorization": "Bearer rchd_live_xxxxxxxxxxxx"}
)
data = response.json()
Response
- 200 OK
- 404 Not Found
{
"data": {
"id": "log-uuid-1",
"lead_id": "a1b2c3d4-...",
"campaign_id": "c1d2e3f4-...",
"agent_id": "user-uuid-1",
"from_number": "+33140000000",
"to_number": "+33612345678",
"duration": 145,
"status": "completed",
"disposition": "appointment-scheduled",
"is_conversation": true,
"recording_url": "https://...",
"transcript": "...",
"transcription_status": "completed",
"summary": "Call with John Doe from Acme Corp. Discussed Q2 demo opportunity. John is interested and booked a meeting for next Thursday.",
"notes": "Demo booked for next Thursday",
"started_at": "2026-03-21T14:30:00.000Z",
"ended_at": "2026-03-21T14:32:25.000Z",
"updated_at": "2026-03-21T14:33:00.000Z"
}
}
{
"error": {
"code": "not_found",
"message": "Call log not found"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | uuid | Call log unique identifier |
lead_id | uuid | Associated lead ID |
campaign_id | uuid | Associated campaign ID |
agent_id | uuid | ID of the agent who handled the call |
from_number | string | Caller phone number |
to_number | string | Called phone number |
duration | integer | Call duration in seconds |
status | string | Call status (completed, no-answer, busy, failed) |
disposition | string | Call outcome disposition |
is_conversation | boolean | Whether the call was a real conversation (answered + bridged, duration >= 60s) |
recording_url | string | URL to the call recording (if available) |
transcript | string | Full call transcript (if transcription is completed) |
transcription_status | string | Transcription status (pending, completed, failed, none) |
summary | string | AI-generated call summary (available when transcription is completed) |
notes | string | Notes added by the agent after the call |
started_at | datetime | Call start timestamp |
ended_at | datetime | Call end timestamp |
updated_at | datetime | Last update timestamp |
The
summary field is generated at the same time as the transcript. When transcription_status is completed, both transcript and summary are populated. When transcription_status is pending, neither is available yet.Get a Fresh Recording URL
Recording URLs returned in the call log response are presigned and expire. Use the dedicated recording endpoint to get a fresh URL valid for 1 hour:GET /v1/call-logs/:id/recording
curl -X GET \
"https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs/log-uuid-1/recording" \
-H "Authorization: Bearer rchd_live_xxxxxxxxxxxx"
const response = await fetch(
"https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs/log-uuid-1/recording",
{ headers: { "Authorization": "Bearer rchd_live_xxxxxxxxxxxx" } }
);
const { data } = await response.json();
// data.recording_url is valid for 1 hour
// data.expires_in_seconds = 3600
{
"data": {
"call_log_id": "log-uuid-1",
"recording_url": "https://kdjmltmhxvvmiuehafgl.supabase.co/storage/v1/object/sign/call-recordings/...?token=...",
"expires_in_seconds": 3600,
"format": "wav"
}
}
.png?fit=max&auto=format&n=PYj-p9lRwfHX4QQS&q=85&s=967f00940a17d1d8cc11bd8995dc98d0)
.png?fit=max&auto=format&n=PYj-p9lRwfHX4QQS&q=85&s=5072033d90dfd5e7cc9349712ea4e145)