Export Transcript
curl --request GET \
--url https://api.example.com/v1/recordings/{id}/exportimport requests
url = "https://api.example.com/v1/recordings/{id}/export"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/recordings/{id}/export', 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/recordings/{id}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/recordings/{id}/export"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/recordings/{id}/export")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/recordings/{id}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRecordings
Export Transcript
Export transcript as a Word document
GET
/
v1
/
recordings
/
{id}
/
export
Export Transcript
curl --request GET \
--url https://api.example.com/v1/recordings/{id}/exportimport requests
url = "https://api.example.com/v1/recordings/{id}/export"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/recordings/{id}/export', 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/recordings/{id}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/recordings/{id}/export"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/recordings/{id}/export")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/recordings/{id}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyExports the transcript as a formatted Microsoft Word (.docx) document, including call metadata, timestamps, and speaker labels.
This endpoint requires a Pro or Business subscription with the
word_export feature.Path Parameters
string
required
The recording ID
Request
curl -X GET "https://app.transcord.app/api/v1/recordings/clx1234567890/export" \
-H "Authorization: Bearer tr_live_your_api_key" \
-o transcript.docx
const recordingId = 'clx1234567890';
const response = await fetch(`https://app.transcord.app/api/v1/recordings/${recordingId}/export`, {
headers: {
'Authorization': 'Bearer tr_live_your_api_key'
}
});
const blob = await response.blob();
// Save or process the Word document
import requests
recording_id = 'clx1234567890'
response = requests.get(
f'https://app.transcord.app/api/v1/recordings/{recording_id}/export',
headers={'Authorization': 'Bearer tr_live_your_api_key'}
)
with open('transcript.docx', 'wb') as f:
f.write(response.content)
Response
On success, returns the Word document as a binary file with headers:Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Content-Disposition: attachment; filename="transcript-{id}.docx"
Document Contents
The exported Word document includes:- Header: “CALL TRANSCRIPT” title
- Call Details: To number, From number, Date/time, Duration
- Transcript: Speaker-labeled paragraphs with timestamps
- Footer: “Generated by Transcord”
Errors
| Status | Description |
|---|---|
202 | Transcript not ready yet |
401 | Invalid or missing API key |
403 | Word export not available on your plan |
404 | Recording not found |