curl --request GET \
--url https://app.triplesession.com/api/public/v2/calls/{callId}/recording \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/calls/{callId}/recording")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.triplesession.com/api/public/v2/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{
"data": {
"url": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"content_type": "video/mp4"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}Get a link to download a call's recording
Returns a signed link to the call’s whole recording. The API never sends the file itself: download it from url. The link expires 15 minutes after it is issued (expires_at); it is checked only when a download starts, so a long download still finishes. Every answer is a new link and must not be cached. Each link issued is recorded with the call and its expiry in the API audit trail. A call the key cannot read (another company or workspace, a private call) and a call with no stored recording both answer 404; a recording still being processed answers 404 until it is ready, and a recording that failed to process answers 404 with a message saying so. A key limited to selected workspaces must send workspace_id. Recording downloads also count against a lower rate limit: 10 requests a minute and 300 an hour per API key, 20 a minute and 600 an hour for the whole company. Requires recordings.read, which is not granted by default.
curl --request GET \
--url https://app.triplesession.com/api/public/v2/calls/{callId}/recording \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/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://app.triplesession.com/api/public/v2/calls/{callId}/recording")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.triplesession.com/api/public/v2/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{
"data": {
"url": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"content_type": "video/mp4"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}Authorizations
Query Parameters
Was this page helpful?

