Skip to main content
GET
/
api
/
stream
/
{call_id}
# CALL_ID=your_call_id
# API_KEY=your_api_key

curl -H "X-API-Key:vaani_3916d7d1d8736c2883582d8ab005be31" https://api.vaaniresearch.com/api/stream/{call_id} --output audio.wav

{
  "stream_url": "https://storage.azure.com/audio/call_123.wav",
  "content_type": "audio/wav",
  "call_id": "call_123"
}

Stream Audio

Stream audio file from Azure Blob Storage.

Parameters

call_id
string
required
The ID of the call

Request Example

# CALL_ID=your_call_id
# API_KEY=your_api_key

curl -H "X-API-Key:vaani_3916d7d1d8736c2883582d8ab005be31" https://api.vaaniresearch.com/api/stream/{call_id} --output audio.wav

Response

Success Response (200)

{
  "stream_url": "https://storage.azure.com/audio/call_123.wav",
  "content_type": "audio/wav",
  "call_id": "call_123"
}
The response follows the StreamResponse schema. Additional fields may be returned depending on implementation. The audio file is stored in Azure Blob Storage.

Validation Error (422)

{
  "detail": [
    {
      "loc": ["path", "call_id"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}
detail
array
Array of validation error objects