Get Call Recording
Retrieves the audio recording for a specific call. If the client has public recordings enabled, the endpoint can be accessed anonymously; otherwise, a valid Authorization header matching the client is required. Recordings hosted on Twilio are returned as a permanent redirect, while recordings stored internally are transcoded from WAV and streamed back inline with range processing enabled for browser seeking. Pass codec=mp3 (default, audio/mpeg) or codec=ogg (Ogg Opus, audio/ogg) - mp3 is the default because Safari and every iOS browser do not reliably play Ogg Opus. Pass dualChannel=true to keep the caller/Pearl channel split; the default folds two-channel recordings to mono, which roughly halves the file size.
Authorizations
Specify the authorization token.
For more information, check out the Authorization Guide.
Response
The audio recording, as mp3 (audio/mpeg) by default or Ogg Opus (audio/ogg) when codec=ogg.
The response is of type file.

