Trillet AI logo

Get Recording

Stream the audio recording for a specific call. Returns the recording file with appropriate audio headers.

GEThttps://api.trillet.ai/v2/api/recordings/{callHistoryId}

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

Path Parameters

callHistoryIdstringrequired

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.