Get Signed URL for Call Recording
curl --request POST \
--url https://api.example.com/v1/call-recording/signed-url \
--header 'Content-Type: application/json' \
--data '
{
"call_id": "<string>",
"expiration_url_in_minutes": 10
}
'import requests
url = "https://api.example.com/v1/call-recording/signed-url"
payload = {
"call_id": "<string>",
"expiration_url_in_minutes": 10
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({call_id: '<string>', expiration_url_in_minutes: 10})
};
fetch('https://api.example.com/v1/call-recording/signed-url', 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.example.com/v1/call-recording/signed-url",
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([
'call_id' => '<string>',
'expiration_url_in_minutes' => 10
]),
CURLOPT_HTTPHEADER => [
"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.example.com/v1/call-recording/signed-url"
payload := strings.NewReader("{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
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.example.com/v1/call-recording/signed-url")
.header("Content-Type", "application/json")
.body("{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/call-recording/signed-url")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}"
response = http.request(request)
puts response.read_body{
"file_name": "webcall_abc123def456_agent_12345678-abcd-efgh-ijkl-123456789012-2026-03-26T174837.ogg",
"signed_url": "https://storage.googleapis.com/your-bucket/webcall_abc123def456_agent_12345678-abcd-efgh-ijkl-123456789012-2026-03-26T174837.ogg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=...&X-Goog-Date=20260402T061527Z&X-Goog-Expires=600&X-Goog-SignedHeaders=host&X-Goog-Signature=...",
"expiration_minutes": 10,
"expires_at": "2026-04-02T06:25:27.773121825Z"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Call Recording
Get Signed URL for Call Recording
Get a pre-signed URL to access the recording of a specific call.
This endpoint generates a temporary signed URL that can be used to stream or download the call recording. The signed URL expires after a limited time for security purposes.
POST
/
v1
/
call-recording
/
signed-url
Get Signed URL for Call Recording
curl --request POST \
--url https://api.example.com/v1/call-recording/signed-url \
--header 'Content-Type: application/json' \
--data '
{
"call_id": "<string>",
"expiration_url_in_minutes": 10
}
'import requests
url = "https://api.example.com/v1/call-recording/signed-url"
payload = {
"call_id": "<string>",
"expiration_url_in_minutes": 10
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({call_id: '<string>', expiration_url_in_minutes: 10})
};
fetch('https://api.example.com/v1/call-recording/signed-url', 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.example.com/v1/call-recording/signed-url",
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([
'call_id' => '<string>',
'expiration_url_in_minutes' => 10
]),
CURLOPT_HTTPHEADER => [
"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.example.com/v1/call-recording/signed-url"
payload := strings.NewReader("{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
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.example.com/v1/call-recording/signed-url")
.header("Content-Type", "application/json")
.body("{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/call-recording/signed-url")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"call_id\": \"<string>\",\n \"expiration_url_in_minutes\": 10\n}"
response = http.request(request)
puts response.read_body{
"file_name": "webcall_abc123def456_agent_12345678-abcd-efgh-ijkl-123456789012-2026-03-26T174837.ogg",
"signed_url": "https://storage.googleapis.com/your-bucket/webcall_abc123def456_agent_12345678-abcd-efgh-ijkl-123456789012-2026-03-26T174837.ogg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=...&X-Goog-Date=20260402T061527Z&X-Goog-Expires=600&X-Goog-SignedHeaders=host&X-Goog-Signature=...",
"expiration_minutes": 10,
"expires_at": "2026-04-02T06:25:27.773121825Z"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Response
Successful Response
The name of the recording file
A temporary pre-signed URL to access the call recording. This URL expires after a limited time.
Number of minutes until the signed URL expires
The exact timestamp when the signed URL will expire
⌘I

