Get a call log
curl --request GET \
--url https://client-api.salesfinity.co/v1/call-log/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://client-api.salesfinity.co/v1/call-log/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://client-api.salesfinity.co/v1/call-log/{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://client-api.salesfinity.co/v1/call-log/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://client-api.salesfinity.co/v1/call-log/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://client-api.salesfinity.co/v1/call-log/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-api.salesfinity.co/v1/call-log/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "6703f1c2a9e4b0a1d2c3f4a5",
"call_id": "call_abc123",
"outcome": "answered",
"direction": "outbound",
"answered_by": "human",
"duration": 184,
"to": "+14155550123",
"from": "+14155550987",
"disposition": {
"internal_id": 1,
"external_id": "meeting_set",
"external_name": "Meeting Set"
},
"contact": {
"_id": "66f0a1b2c3d4e5f6a7b8c9d0",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"title": "VP of Sales",
"company": "Acme Corp",
"source": "csv"
},
"contact_list": {
"_id": "66e9b8a7c6d5e4f3a2b1c0d9",
"name": "Q3 Enterprise Prospects"
},
"source": {
"type": "csv",
"id": "66e9b8a7c6d5e4f3a2b1c0aa",
"name": "Q3 Enterprise Prospects"
},
"user": {
"_id": "64d2b3f2c4e3a6b8f2d9e1a7",
"first_name": "Jane",
"last_name": "Smith",
"email": "[email protected]"
},
"phone_number": {
"type": "mobile",
"number": "+14155550123"
},
"recording_url": "https://recordings.example.com/call_abc123.mp3",
"notes": "Booked a demo for Tuesday.",
"is_completed": true,
"started_at": "2026-09-30T17:02:11.000Z",
"ended_at": "2026-09-30T17:05:15.000Z",
"createdAt": "2026-09-30T17:05:20.000Z",
"updatedAt": "2026-09-30T17:05:20.000Z"
}
}{
"message": "Invalid ObjectId format for parameter: id",
"error": "Bad Request",
"statusCode": 400,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Call log not found",
"error": "Not Found",
"statusCode": 404,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Rate limit of 300 requests per minute exceeded. Retry in 12s.",
"error": "Too Many Requests",
"statusCode": 429,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}Team and call logs
Get a call log
Returns one call log by its _id. Read-only. The fields are the same as in List call logs. A call that belongs to another team returns 404.
GET
/
v1
/
call-log
/
{id}
Get a call log
curl --request GET \
--url https://client-api.salesfinity.co/v1/call-log/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://client-api.salesfinity.co/v1/call-log/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://client-api.salesfinity.co/v1/call-log/{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://client-api.salesfinity.co/v1/call-log/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://client-api.salesfinity.co/v1/call-log/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://client-api.salesfinity.co/v1/call-log/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-api.salesfinity.co/v1/call-log/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "6703f1c2a9e4b0a1d2c3f4a5",
"call_id": "call_abc123",
"outcome": "answered",
"direction": "outbound",
"answered_by": "human",
"duration": 184,
"to": "+14155550123",
"from": "+14155550987",
"disposition": {
"internal_id": 1,
"external_id": "meeting_set",
"external_name": "Meeting Set"
},
"contact": {
"_id": "66f0a1b2c3d4e5f6a7b8c9d0",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"title": "VP of Sales",
"company": "Acme Corp",
"source": "csv"
},
"contact_list": {
"_id": "66e9b8a7c6d5e4f3a2b1c0d9",
"name": "Q3 Enterprise Prospects"
},
"source": {
"type": "csv",
"id": "66e9b8a7c6d5e4f3a2b1c0aa",
"name": "Q3 Enterprise Prospects"
},
"user": {
"_id": "64d2b3f2c4e3a6b8f2d9e1a7",
"first_name": "Jane",
"last_name": "Smith",
"email": "[email protected]"
},
"phone_number": {
"type": "mobile",
"number": "+14155550123"
},
"recording_url": "https://recordings.example.com/call_abc123.mp3",
"notes": "Booked a demo for Tuesday.",
"is_completed": true,
"started_at": "2026-09-30T17:02:11.000Z",
"ended_at": "2026-09-30T17:05:15.000Z",
"createdAt": "2026-09-30T17:05:20.000Z",
"updatedAt": "2026-09-30T17:05:20.000Z"
}
}{
"message": "Invalid ObjectId format for parameter: id",
"error": "Bad Request",
"statusCode": 400,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Call log not found",
"error": "Not Found",
"statusCode": 404,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Rate limit of 300 requests per minute exceeded. Retry in 12s.",
"error": "Too Many Requests",
"statusCode": 429,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500,
"request_id": "0f6d3c52-9f3e-4c1a-a4b8-2b1f7e5d9c10"
}The
The call log comes back inside
id is the call log’s _id, from List call logs or from
call_log._id on a scored call.
curl https://client-api.salesfinity.co/v1/call-log/6703f1c2a9e4b0a1d2c3f4a5 \
--header 'x-api-key: YOUR_API_KEY'
data, with the same fields as an item in the list. An ID that is not
24 hexadecimal characters returns 400; a well-formed ID that is not on your team returns 404.