Get a call's recording

Returns the recording of a completed call in one of three shapes, chosen by the request itself: send Accept: application/json for a temporary URL, add download=1 for the audio bytes as an attachment, or make a plain GET (as an <audio> element does) and be redirected. The URL is valid for one hour and is served directly from storage, so it works without your API key once issued — treat it as a secret. The same access rule as the call record applies: one-to-one calls between two of your extensions stay visible only to the people on them.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The call whose recording you want.

Query Params
string

Set download=1 to stream the audio bytes as an attachment instead of receiving a URL.

Responses
200

A temporary URL valid for one hour when the request carries Accept: application/json, or the audio bytes as an attachment when download=1 is set.

302

A redirect to the recording, the default for a plain GET without a JSON Accept header.

404

You have no access to the call, no recording was stored for it, or the audio is missing from storage.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json