curl --request GET \
--url https://your-instance.example.com/api/calls/{callId}/recording \
--header 'Authorization: Bearer <token>'import requests
url = "https://your-instance.example.com/api/calls/{callId}/recording"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your-instance.example.com/api/calls/{callId}/recording', 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://your-instance.example.com/api/calls/{callId}/recording",
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://your-instance.example.com/api/calls/{callId}/recording"
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://your-instance.example.com/api/calls/{callId}/recording")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/calls/{callId}/recording")
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{
"success": true,
"audioUrl": "https://example-r2.signed/.../recording.mp3?X-Amz-Expires=600",
"duration": 154,
"recordingId": "rec_abc123",
"transcriptionText": "Agent: Hi, this is Alex from Example Corp...",
"transcriptionData": [
{
"role": "agent",
"message": "Hi, this is Alex from Example Corp.",
"timestamp": 0.5
},
{
"role": "user",
"message": "Hey Alex.",
"timestamp": 2.8
}
],
"direction": "outbound",
"from": "+14165550100",
"to": "+14165550199"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}Get a call recording (audio + transcription)
Returns the audio recording for a completed call along with any available transcription. The shape depends on the provider: Twilio recordings are fetched server-side and returned as a base64 audioData blob; Sinch / ElevenLabs / external recordings are returned as a signed audioUrl (S3 or R2). Transcriptions are lazy-fetched/transformed on first read and cached on the Call document.
curl --request GET \
--url https://your-instance.example.com/api/calls/{callId}/recording \
--header 'Authorization: Bearer <token>'import requests
url = "https://your-instance.example.com/api/calls/{callId}/recording"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your-instance.example.com/api/calls/{callId}/recording', 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://your-instance.example.com/api/calls/{callId}/recording",
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://your-instance.example.com/api/calls/{callId}/recording"
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://your-instance.example.com/api/calls/{callId}/recording")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/calls/{callId}/recording")
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{
"success": true,
"audioUrl": "https://example-r2.signed/.../recording.mp3?X-Amz-Expires=600",
"duration": 154,
"recordingId": "rec_abc123",
"transcriptionText": "Agent: Hi, this is Alex from Example Corp...",
"transcriptionData": [
{
"role": "agent",
"message": "Hi, this is Alex from Example Corp.",
"timestamp": 0.5
},
{
"role": "user",
"message": "Hey Alex.",
"timestamp": 2.8
}
],
"direction": "outbound",
"from": "+14165550100",
"to": "+14165550199"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}{
"success": false,
"error": "Call not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The provider-agnostic callId minted by Tether (also used as providerCallId for SDK calls).
Response
Recording payload
Shape depends on provider. Twilio returns base64 audioData; Sinch / ElevenLabs / external return a signed audioUrl.
true data URI (Twilio only).
Signed S3 (Sinch) or R2 (ElevenLabs/external) URL.
- object[]
- object
inbound, outbound