Skip to main content

Active Stream Monitoring

Monitor active call streams in real-time. This API returns the list of ongoing calls currently in progress on your account.

Get Active Streams​

GET /v3/accounts/<account_sid>/calls/active

Path Parameters​

ParameterTypeDescription
account_sidStringYour Exotel account SID

Example Request​

curl -X GET \
'https://<api_key>:<api_token>@api.exotel.com/v3/accounts/<account_sid>/calls/active' \
-H 'Content-Type: application/json'

Response​

{
"request_id": "req_xyz789",
"method": "GET",
"http_code": 200,
"response": {
"active_calls": [
{
"call_sid": "call_active_001",
"status": "in-progress",
"from": "+911234567890",
"to": "+919876543210",
"start_time": "2024-06-15T10:30:00.000Z",
"duration": 120,
"recording_enabled": true
},
{
"call_sid": "call_active_002",
"status": "ringing",
"from": "+919876543211",
"to": "+911234567890",
"start_time": "2024-06-15T10:35:00.000Z",
"duration": 0,
"recording_enabled": false
}
],
"total_active": 2
}
}

Response Fields​

FieldTypeDescription
active_callsArrayList of currently active call objects
call_sidStringUnique identifier of the active call
statusStringCurrent status: ringing or in-progress
fromStringOriginating phone number in E.164 format
toStringDestination phone number in E.164 format
start_timeDateTimeISO 8601 timestamp when the call was initiated
durationIntegerElapsed call time in seconds
recording_enabledBooleanWhether call recording is active for this call
total_activeIntegerTotal number of active calls on the account

Use Cases​

Use CaseDescription
Supervisor DashboardReal-time view of all active calls for supervisors
Load MonitoringTrack concurrent call volume across the account
Call QualityMonitor call duration and connection status
Capacity PlanningDetect peak periods and adjust routing accordingly