Calls
Get call
Read one call in full: transcript, recording, summary, post-call analysis and the dynamic variables it was placed with.
GET
/
v2
/
call
/
{id}
Get call
curl --request GET \
--url https://api.verbeo.ai/v2/call/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verbeo.ai/v2/call/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verbeo.ai/v2/call/{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://api.verbeo.ai/v2/call/{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 => [
"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.verbeo.ai/v2/call/{id}"
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.verbeo.ai/v2/call/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/{id}")
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{
"enhanced_transcript": {},
"transcript_fix_count": 123
}Path
string
required
The call’s UUID — the
id Create phone call returned, and the call_id of its webhooks.Request
curl "https://api.verbeo.ai/v2/call/b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
200 OK. Every field of a list item, plus:
{
"success": true,
"data": {
"id": "b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34",
"status": "completed",
"agent_name": "Customer Support",
"phone_number_id": "7d9f3b52-4c1e-4a8e-9b1a-2f6c0d4e8a11",
"call_sid": "CA0123456789abcdef0123456789abcdef",
"recording_url": "https://…/recording.wav",
"recording_sid": null,
"summary": "The customer confirmed the delivery for Friday.",
"transcript": "Agent: Hi Jane…",
"enhanced_transcript": null,
"transcript_json": { "conversation": [{ "role": "assistant", "content": "Hi Jane…" }] },
"transcript_fix_count": 0,
"analysis_data": { "call_successful": true },
"dynamic_variables": { "customer_name": "Jane Smith" }
}
}
string | null
The transcript rebuilt from the recording, once Fix transcript has run; prefer it to
transcript when it is set.number
How many of the five transcript fixes this call has used.
Errors
| Code | Status | When |
|---|---|---|
VALIDATION_FAILED | 422 | id is not a UUID. |
NOT_FOUND | 404 | No call with this id in your workspace. |
UNAUTHORIZED | 401 | Invalid, inactive or expired key. |
FORBIDDEN | 403 | A public (vbr_pub_…) key. |
Was this page helpful?
⌘I
Get call
curl --request GET \
--url https://api.verbeo.ai/v2/call/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verbeo.ai/v2/call/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verbeo.ai/v2/call/{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://api.verbeo.ai/v2/call/{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 => [
"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.verbeo.ai/v2/call/{id}"
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.verbeo.ai/v2/call/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/{id}")
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{
"enhanced_transcript": {},
"transcript_fix_count": 123
}