Calls
Fix transcript
Rebuild a call’s transcript from its recording, then send its call_analyzed webhook again with the corrected content.
POST
/
v2
/
call
/
{id}
/
transcript
Fix transcript
curl --request POST \
--url https://api.verbeo.ai/v2/call/{id}/transcript \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verbeo.ai/v2/call/{id}/transcript"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verbeo.ai/v2/call/{id}/transcript', 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}/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/transcript"
req, _ := http.NewRequest("POST", 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.post("https://api.verbeo.ai/v2/call/{id}/transcript")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/{id}/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyThe same as the Fix transcript button in the dashboard. The rebuilt text is stored as the call’s
enhanced_transcript, and a corrected call_analyzed webhook follows if the assistant has a webhook URL. It takes as long as the recording does to process — allow a minute or more before timing out.
curl -X POST "https://api.verbeo.ai/v2/call/b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34/transcript" \
-H "Authorization: Bearer YOUR_API_KEY"
{ "success": true, "data": { "enhanced_transcript": "Agent: Hi Jane…" } }
Errors
| Code | Status | When | Retry? |
|---|---|---|---|
CONFLICT | 409 | The call was never answered, or it has no recording. | No |
TOO_MANY_REQUESTS | 429 | The call has used its five fixes. | No |
NOT_FOUND | 404 | No call with this id in your workspace. | No |
BAD_GATEWAY | 502 | Transcription failed this time. | Yes, later — a failed attempt may still count toward the five. |
INTERNAL_ERROR | 500 | Unexpected failure. | Yes |
Was this page helpful?
⌘I
Fix transcript
curl --request POST \
--url https://api.verbeo.ai/v2/call/{id}/transcript \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verbeo.ai/v2/call/{id}/transcript"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verbeo.ai/v2/call/{id}/transcript', 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}/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/transcript"
req, _ := http.NewRequest("POST", 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.post("https://api.verbeo.ai/v2/call/{id}/transcript")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verbeo.ai/v2/call/{id}/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body