Returns full call details including the associated session with transcript, latency metrics, credits used, and a temporary recording download URL (if recording was enabled).
cURL
curl --request GET \ --url https://api.vocobase.com/api/v2/calls/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "direction": "outbound", "from_number": "<string>", "to_number": "<string>", "status": "pending", "provider": "mcube", "duration_seconds": 123, "error_message": "<string>", "started_at": "2023-11-07T05:31:56Z", "ended_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "session": { "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "duration_seconds": 123, "credits_used": 123, "transcript": [ { "role": "user", "content": "<string>", "timestamp": "2023-11-07T05:31:56Z", "latency_ms": 123 } ], "latency": { "min_ms": 123, "max_ms": 123, "avg_ms": 123 }, "recording_url": "<string>", "status": "<string>", "started_at": "2023-11-07T05:31:56Z", "ended_at": "2023-11-07T05:31:56Z" } } }
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
rg_live_xxxx
Call ID.
Call details with session data.
Show child attributes