List calls
curl --request GET \
--url https://api.vonative.com/v1/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vonative.com/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://api.vonative.com/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://api.vonative.com/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://api.vonative.com/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://api.vonative.com/v1/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vonative.com/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{
"total": 123,
"skip": 123,
"limit": 123,
"success": true,
"message": "success",
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"organization_id": "<string>",
"user_id": "<string>",
"assistant_id": "<string>",
"workflow_id": "<string>",
"phone_number_id": "<string>",
"campaign_id": "<string>",
"squad_id": "<string>",
"vapi_assistant_id": "<string>",
"vapi_call_id": "<string>",
"assistant_name": "Unknown Assistant",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"ended_reason": "<string>",
"localized_cost": "<string>",
"localized_currency": "<string>",
"exchange_rate": "<string>",
"caller_number": "<string>",
"called_number": "<string>",
"direction": "outbound",
"call_type": "<string>",
"avatar_provider": "<string>",
"initial_balance": "0",
"cost": "0",
"total_cost": "0",
"duration_seconds": 0,
"message_count": 0,
"cost_breakdown": {},
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0,
"transcript": "<string>",
"summary": "<string>",
"recording_url": "<string>",
"recording_key": "<string>",
"messages": [],
"analysis": {},
"artifact": {},
"transport": {},
"pcap_url": "<string>",
"log_url": "<string>",
"web_call_url": "<string>",
"vapi_metadata": {},
"error_count": 0,
"last_error": {},
"user_rating": 123,
"user_feedback": "<string>",
"sentiment_score": 123,
"metadata_json": {},
"guardrail_violations": [],
"guardrail_review": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Calls
List calls
List calls, newest first. Filter by status, assistant, phone number, campaign or date.
Required permission: calls:read
GET
/
v1
/
calls
List calls
curl --request GET \
--url https://api.vonative.com/v1/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vonative.com/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://api.vonative.com/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://api.vonative.com/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://api.vonative.com/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://api.vonative.com/v1/calls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vonative.com/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{
"total": 123,
"skip": 123,
"limit": 123,
"success": true,
"message": "success",
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"organization_id": "<string>",
"user_id": "<string>",
"assistant_id": "<string>",
"workflow_id": "<string>",
"phone_number_id": "<string>",
"campaign_id": "<string>",
"squad_id": "<string>",
"vapi_assistant_id": "<string>",
"vapi_call_id": "<string>",
"assistant_name": "Unknown Assistant",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"ended_reason": "<string>",
"localized_cost": "<string>",
"localized_currency": "<string>",
"exchange_rate": "<string>",
"caller_number": "<string>",
"called_number": "<string>",
"direction": "outbound",
"call_type": "<string>",
"avatar_provider": "<string>",
"initial_balance": "0",
"cost": "0",
"total_cost": "0",
"duration_seconds": 0,
"message_count": 0,
"cost_breakdown": {},
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0,
"transcript": "<string>",
"summary": "<string>",
"recording_url": "<string>",
"recording_key": "<string>",
"messages": [],
"analysis": {},
"artifact": {},
"transport": {},
"pcap_url": "<string>",
"log_url": "<string>",
"web_call_url": "<string>",
"vapi_metadata": {},
"error_count": 0,
"last_error": {},
"user_rating": 123,
"user_feedback": "<string>",
"sentiment_score": 123,
"metadata_json": {},
"guardrail_violations": [],
"guardrail_review": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
An API key from Dashboard → Developers → API keys.
Query Parameters
Filter by status
Filter by assistant id (uuid)
Filter by Vapi assistant ID
Filter by user id (uuid)
Filter by phone number id (uuid)
Filter by campaign id (uuid)
Start date (ISO format)
End date (ISO format)
Number of results
Required range:
1 <= x <= 500Pagination offset
Required range:
x >= 0⌘I

