List Calls
curl --request GET \
--url https://client-backend.oktivo.com/api/v1/crm/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/api/v1/crm/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/api/v1/crm/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{
"success": true,
"data": [
{
"contactUID": "contact_7f8a9b0c1d2e",
"campaignUID": "api_call_3e4f5g6h7i8j",
"source": "api",
"agentId": "agt_123",
"name": "Priya Sharma",
"phone": "+919876543210",
"direction": "outbound",
"status": "done",
"callStatus": "ended_by_user",
"disconnectReason": "CLIENT_INITIATED",
"callDuration": 67,
"billingDuration": 67,
"attempts": 1,
"lastError": null,
"createdAt": "2026-03-02T04:00:02.000Z",
"startedAt": "2026-03-02T04:00:05.000Z",
"answeredAt": "2026-03-02T04:00:11.000Z",
"endedAt": "2026-03-02T04:01:18.000Z",
"hasRecording": true,
"hasTranscription": true,
"hasAnalysis": true
}
],
"pagination": { "page": 1, "pageSize": 25, "total": 127, "totalPages": 6, "hasMore": true },
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z",
"meta": {
"page": 1,
"pageSize": 25,
"total": 127,
"totalPages": 6,
"hasMore": true
}
}
Calls
List Calls
Call history for your account, newest first.
GET
/
api
/
v1
/
crm
/
calls
List Calls
curl --request GET \
--url https://client-backend.oktivo.com/api/v1/crm/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/api/v1/crm/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/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://client-backend.oktivo.com/api/v1/crm/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/api/v1/crm/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{
"success": true,
"data": [
{
"contactUID": "contact_7f8a9b0c1d2e",
"campaignUID": "api_call_3e4f5g6h7i8j",
"source": "api",
"agentId": "agt_123",
"name": "Priya Sharma",
"phone": "+919876543210",
"direction": "outbound",
"status": "done",
"callStatus": "ended_by_user",
"disconnectReason": "CLIENT_INITIATED",
"callDuration": 67,
"billingDuration": 67,
"attempts": 1,
"lastError": null,
"createdAt": "2026-03-02T04:00:02.000Z",
"startedAt": "2026-03-02T04:00:05.000Z",
"answeredAt": "2026-03-02T04:00:11.000Z",
"endedAt": "2026-03-02T04:01:18.000Z",
"hasRecording": true,
"hasTranscription": true,
"hasAnalysis": true
}
],
"pagination": { "page": 1, "pageSize": 25, "total": 127, "totalPages": 6, "hasMore": true },
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z",
"meta": {
"page": 1,
"pageSize": 25,
"total": 127,
"totalPages": 6,
"hasMore": true
}
}
Returns a slim view of your calls. Transcripts, analysis and recording links are not included; receive them through webhooks or fetch one call with Get Call Status. Test calls and meeting rooms are excluded. Calls that are still waiting are listed by List Queued Calls.
Query Parameters
Comma-separated call statuses, for example
ended_by_user,rejected. Use pending for calls not yet dialed.{
"success": true,
"data": [
{
"contactUID": "contact_7f8a9b0c1d2e",
"campaignUID": "api_call_3e4f5g6h7i8j",
"source": "api",
"agentId": "agt_123",
"name": "Priya Sharma",
"phone": "+919876543210",
"direction": "outbound",
"status": "done",
"callStatus": "ended_by_user",
"disconnectReason": "CLIENT_INITIATED",
"callDuration": 67,
"billingDuration": 67,
"attempts": 1,
"lastError": null,
"createdAt": "2026-03-02T04:00:02.000Z",
"startedAt": "2026-03-02T04:00:05.000Z",
"answeredAt": "2026-03-02T04:00:11.000Z",
"endedAt": "2026-03-02T04:01:18.000Z",
"hasRecording": true,
"hasTranscription": true,
"hasAnalysis": true
}
],
"pagination": { "page": 1, "pageSize": 25, "total": 127, "totalPages": 6, "hasMore": true },
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z",
"meta": {
"page": 1,
"pageSize": 25,
"total": 127,
"totalPages": 6,
"hasMore": true
}
}