Skip to main content
GET
/
v1
/
call-logs
List Call Logs
curl --request GET \
  --url https://api.example.com/v1/call-logs
import requests

url = "https://api.example.com/v1/call-logs"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.example.com/v1/call-logs', 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",
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"

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")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/call-logs")

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_body

List Call Logs

Returns a paginated list of call logs with optional filters. Use this endpoint to retrieve call results, dispositions, and recordings.

Request

GET /v1/call-logs

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page, max 100 (default: 25)
lead_iduuidNoFilter by lead ID
campaign_iduuidNoFilter by campaign ID
dispositionstringNoFilter by disposition (e.g., meeting_booked, not_interested)
date_fromstringNoStart date in ISO 8601 format (e.g., 2026-03-01T00:00:00Z)
date_tostringNoEnd date in ISO 8601 format

Example

curl -X GET \
  "https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs?campaign_id=c1d2e3f4-...&date_from=2026-03-01T00:00:00Z" \
  -H "Authorization: Bearer rchd_live_xxxxxxxxxxxx"
const params = new URLSearchParams({
  campaign_id: "c1d2e3f4-...",
  date_from: "2026-03-01T00:00:00Z"
});

const response = await fetch(
  `https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs?${params}`,
  {
    headers: {
      "Authorization": "Bearer rchd_live_xxxxxxxxxxxx"
    }
  }
);
const { data, meta } = await response.json();
import requests

response = requests.get(
    "https://kdjmltmhxvvmiuehafgl.supabase.co/functions/v1/api-gateway/v1/call-logs",
    headers={"Authorization": "Bearer rchd_live_xxxxxxxxxxxx"},
    params={
        "campaign_id": "c1d2e3f4-...",
        "date_from": "2026-03-01T00:00:00Z"
    }
)
result = response.json()

Response

{
  "data": [
    {
      "id": "log-uuid-1",
      "lead_id": "a1b2c3d4-...",
      "campaign_id": "c1d2e3f4-...",
      "from_number": "+33140000000",
      "to_number": "+33612345678",
      "duration": 145,
      "status": "completed",
      "disposition": "meeting_booked",
      "recording_url": "https://...",
      "started_at": "2026-03-21T14:30:00.000Z",
      "ended_at": "2026-03-21T14:32:25.000Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total": 1
  }
}

Response Fields

FieldTypeDescription
iduuidCall log unique identifier
lead_iduuidAssociated lead ID
campaign_iduuidAssociated campaign ID
from_numberstringCaller phone number
to_numberstringCalled phone number
durationintegerCall duration in seconds
statusstringCall status (completed, no-answer, busy, failed)
dispositionstringCall outcome disposition
recording_urlstringURL to the call recording (if available)
started_atdatetimeCall start timestamp
ended_atdatetimeCall end timestamp

Disposition Values

DispositionDescription
appointment_scheduledAppointment confirmed
callback_laterLead requested a callback
not_interestedLead not interested
no_answerNo one answered
voicemailReached voicemail
voicemail_leftVoicemail message left
wrong_numberWrong number
wrong_personWrong contact
no_longer_at_companyContact left the company
abandoned_callCall abandoned
voice_assistant_filteredFiltered by voice assistant