GET
/
v1
/
api
/
calls
/
recordings
/
{callSid}
Get Call Recording
curl --request GET \
  --url https://api.trillet.ai/v1/api/calls/recordings/{callSid} \
  --header 'x-api-key: <api-key>'
HTTP/1.1 200 OK 
Content-Type: audio/mpeg 
Content-Disposition: inline;
filename="exampleRecordingSid.mp3" 

Headers

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

Path Parameters

callSid
string
required
The Twilio Call SID of the call whose recording you want.

Response Fields

Content-Type
string
Indicates the MIME type of the streamed content, which is ‘audio/mpeg’ for MP3 audio files.
Content-Disposition
string
Describes how the content should be handled by the browser; set to ‘inline’ with a filename indicating the name of the downloaded or played file.

Response

An audio/mpeg file (MP3) is streamed back. You can download or play it in the browser.
HTTP/1.1 200 OK 
Content-Type: audio/mpeg 
Content-Disposition: inline;
filename="exampleRecordingSid.mp3"