06 Line
ReferenceApi

Download a call recording

One track of the recording of the call, as a mono WAV (PCM 16-bit, 8 kHz): `remote` is the other party, at the end of the phone line (with the ringback tone while it rings), `local` is what your WebRTC session sent. Both start when the call is placed or answered, so they line up; play them together, or transcribe each speaker on its own. They are ready a few seconds after the call ends. A track that carried no sound has no file, and an incoming call nobody answered has none.

GET
/v1/calls/{call_id}/recordings/{track}

One track of the recording of the call, as a mono WAV (PCM 16-bit, 8 kHz): remote is the other party, at the end of the phone line (with the ringback tone while it rings), local is what your WebRTC session sent. Both start when the call is placed or answered, so they line up; play them together, or transcribe each speaker on its own. They are ready a few seconds after the call ends. A track that carried no sound has no file, and an incoming call nobody answered has none.

Authorization

headerAuthorizationBearer <token>

Your API key, 06l_…. For servers only.

Path Parameters

call_id*string
Match^call_[0-9a-z]{26}$
track*string
Value in"remote""local"

Response Body

The recording of the track.

response?fileaudio/wav
Formatbinary
Example Request
curl -X GET 'https://api.06line.com/v1/calls/string/recordings/remote'
Example Response
"string"