Skip to main content
GET

Stream Audio

Stream the audio recording of a call. Returns a binary audio file (audio/ogg or audio/mpeg).

Parameters

string
required
The unique call ID (e.g., outbound-1776774443-863aa698)

Seeking and Headers

The endpoint supports HEAD and HTTP range requests, so audio players can seek without downloading the whole file:

Request Example

Response

Success Response (200)

Returns a binary audio stream. The response is not JSON - it is the raw audio file.
string
Audio format - typically audio/ogg or audio/mpeg
integer
Size of the audio file in bytes
The response is a binary audio stream, not JSON. Use the -o flag with curl to save it to a file, or use the URL directly in an HTML <audio> tag for playback.

Not Found (404)

Returned when the recording has not been generated yet (e.g., call is still in progress or too short).

Validation Error (422)

Validation failures return 422 in the standard error format described in Errors.