List Calls
curl --request GET \
--url https://data.craftflow.co/api/v1/calls/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.craftflow.co/api/v1/calls/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/calls/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.craftflow.co/api/v1/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{
"data": [
{
"id": "f6a7b8c9-d0e1-2345-fabc-678901234567",
"start_time": "2025-07-02T14:00:00Z",
"end_time": "2025-07-02T14:05:00Z",
"audio_duration_seconds": 300,
"direction": "inbound",
"source": "integration",
"sentiment": "positive",
"score": 0.9,
"summary": "Customer called about HVAC repair.",
"is_qualified": true,
"is_booked": true,
"is_excused": false,
"excused_at": null,
"excuse_reason": null,
"is_cancellation": false,
"has_cancellation": false,
"user": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"full_name": "Jane Smith"
},
"created_at": "2025-07-02T14:00:00Z"
}
],
"pagination": {
"count": 1,
"page": 1,
"page_size": 25,
"total_pages": 1
}
}{
"error": {
"detail": "<string>"
}
}{
"error": {
"detail": "<string>"
}
}Calls
List Calls
Retrieve a paginated list of call center AI calls in your company.
GET
/
calls
/
List Calls
curl --request GET \
--url https://data.craftflow.co/api/v1/calls/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.craftflow.co/api/v1/calls/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/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://data.craftflow.co/api/v1/calls/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.craftflow.co/api/v1/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{
"data": [
{
"id": "f6a7b8c9-d0e1-2345-fabc-678901234567",
"start_time": "2025-07-02T14:00:00Z",
"end_time": "2025-07-02T14:05:00Z",
"audio_duration_seconds": 300,
"direction": "inbound",
"source": "integration",
"sentiment": "positive",
"score": 0.9,
"summary": "Customer called about HVAC repair.",
"is_qualified": true,
"is_booked": true,
"is_excused": false,
"excused_at": null,
"excuse_reason": null,
"is_cancellation": false,
"has_cancellation": false,
"user": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"full_name": "Jane Smith"
},
"created_at": "2025-07-02T14:00:00Z"
}
],
"pagination": {
"count": 1,
"page": 1,
"page_size": 25,
"total_pages": 1
}
}{
"error": {
"detail": "<string>"
}
}{
"error": {
"detail": "<string>"
}
}Authorizations
Your API key, prefixed with cf_live_.
Query Parameters
Filter by call source.
Available options:
integration, voice_agent Sort results by a field. Prefix with - for descending order.
Available options:
created_at, -created_at Page number.
Required range:
x >= 1Number of results per page.
Required range:
1 <= x <= 100⌘I