Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt

Use this file to discover all available pages before exploring further.

GET https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/?status=live
Retrieve detailed information about an in-progress call. Unlike the standard CDR endpoint which returns finalized records, this endpoint provides real-time status for active calls including current state, call flow position, and live duration metrics.
This endpoint only returns data for calls currently in progress. For completed calls, use the standard call CDR endpoint instead.

Path parameters

ParameterTypeRequiredDescription
auth_idstringYesYour Vobiz account ID
call_uuidstringYesUnique identifier of the live call

Query parameters

ParameterTypeRequiredDescription
statusstringYesMust be live to retrieve real-time call information
The status=live query parameter is required. Without it, the endpoint returns the finalized CDR (if the call ended) or a 404 error.

Example request

cURL
curl -X GET "https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/?status=live" \
  -H "X-Auth-ID: YOUR_AUTH_ID" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN"

Response

200 OK
{
  "api_id": "c8b427f6-58ce-11e1-86da-adf28403fe48",
  "calls": [
    {
      "answer_time": "2014-10-15 09:03:43",
      "bill_duration": null,
      "billed_duration": null,
      "call_direction": "outbound",
      "call_duration": 180,
      "call_state": "ACTIVE",
      "call_uuid": "97ceeb52-58b6-11e1-86da-77300b68f8bb",
      "conference_uuid": null,
      "end_time": null,
      "from_number": "+14156667777",
      "initiation_time": "2014-10-15 09:03:38",
      "parent_call_uuid": null,
      "hangup_cause_code": null,
      "hangup_cause_name": null,
      "hangup_source": null,
      "to_number": "+14156667778",
      "total_amount": null,
      "total_rate": null,
      "stir_verification": "verified",
      "stir_attestation": "A",
      "source_ip": "1.1.1.1"
    }
  ]
}

Live-call-specific fields

FieldDescription
call_stateCurrent state: RINGING, EARLY, ACTIVE, or HELD
call_durationLive call duration in seconds since answer_time
end_timeWill be null for active calls
billed_durationWill be null until the call ends
total_amountWill be null until call ends and billing is calculated
hangup_*All hangup fields are null for active calls

Call state values

ValueMeaning
RINGINGCall is ringing, not yet answered
EARLYEarly media state (e.g., ringback tone playing)
ACTIVECall is connected and in progress
HELDCall is on hold
Poll this endpoint periodically to monitor live call metrics. Use call_duration to calculate current call costs in real-time.