Calls
Get call fields in bulk
Read the heavy fields — transcripts, summaries, analysis — of up to 100 calls in one request, for an export.
POST
/
v2
/
call
/
extras
Get call fields in bulk
curl --request POST \
--url https://api.verbeo.ai/v2/call/extras \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
],
"columns": [
"<string>"
]
}
'import requests
url = "https://api.verbeo.ai/v2/call/extras"
payload = {
"ids": ["<string>"],
"columns": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['<string>'], columns: ['<string>']})
};
fetch('https://api.verbeo.ai/v2/call/extras', 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/extras",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'<string>'
],
'columns' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.verbeo.ai/v2/call/extras"
payload := strings.NewReader("{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.verbeo.ai/v2/call/extras")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/extras")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_bodyList calls leaves the heavy fields out. To export them, list the calls, then ask for the fields you need here, up to 100 ids at a time.
Body
string[]
required
1 to 100 call UUIDs. An id that is not a call of your workspace is left out of the answer, not an error.
string[]
required
Any of
recording_url, recording_sid, summary, transcript, enhanced_transcript, transcript_json, transcript_fix_count, analysis_data, dynamic_variables.curl -X POST "https://api.verbeo.ai/v2/call/extras" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "ids": ["b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34"], "columns": ["summary", "analysis_data"] }'
200 OK: one object per call found, its id and the fields asked for, in no particular order.
{
"success": true,
"data": [
{ "id": "b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34", "summary": "The customer confirmed…", "analysis_data": { "call_successful": true } }
]
}
422 VALIDATION_FAILED for no ids, more than 100, or a column not in the list above.Was this page helpful?
⌘I
Get call fields in bulk
curl --request POST \
--url https://api.verbeo.ai/v2/call/extras \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
],
"columns": [
"<string>"
]
}
'import requests
url = "https://api.verbeo.ai/v2/call/extras"
payload = {
"ids": ["<string>"],
"columns": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['<string>'], columns: ['<string>']})
};
fetch('https://api.verbeo.ai/v2/call/extras', 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/extras",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ids' => [
'<string>'
],
'columns' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.verbeo.ai/v2/call/extras"
payload := strings.NewReader("{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.verbeo.ai/v2/call/extras")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/extras")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ids\": [\n \"<string>\"\n ],\n \"columns\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body