Skip to main content

Download File By Call Sid

GET 

/v0/voice/call_sid/:call_sid

Download a voice recording by call_sid.

This endpoint allows the UI to fetch recordings using just the call_sid from the datapoint metadata, without needing to know the file_id.

Args: call_sid: Twilio CallSid (e.g., "CA1234567890abcdef")

Returns: StreamingResponse with the audio file (WAV format)

Raises: HTTPException 404: If no recording found for the call_sid

Request

Responses

Successful Response