Skip to main content
GET
https://api.trillet.ai
/
v2
/
api
/
recordings
/
{callHistoryId}
Get Recording
curl --request GET \
  --url https://api.trillet.ai/v2/api/recordings/{callHistoryId} \
  --header 'x-api-key: <api-key>'

Headers

x-api-key
string
required
API key used for authenticating requests to the API.

Path Parameters

callHistoryId
string
required
The call history ID to retrieve the recording for.

Response

The response streams the audio file directly with the following headers:
  • Content-Type: audio/mp3 or video/mp4 depending on the recording format
  • Content-Disposition: inline; filename="recording.mp3"
  • Cache-Control: private, max-age=3600
The audio file is streamed directly and can be played in a browser or downloaded.