API referenceCalls
Get Call
GET
Get a call session by ID.
Required scope: calls:read
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
call_id*Call IdSuccessful Response
application/json- response
id*Idcall_center_id*Call Center Idorganization_id*Organization Iddirection*CallDirectionValue in
"inbound""outbound""internal"status*CallSessionStatusValue in
"queued""ringing""in_progress""on_hold""transferred""wrap_up""completed""abandoned""failed""voicemail"queue_id?string|nullcaller_number?string|nullcaller_name?string|nullcaller_contact_id?string|nullagent_id?string|nulltransferred_from_agent_id?string|nullhandler_type?string|nullvoice_agent_id?string|nullqueued_at?|nullanswered_at?|nullended_at?|nullwrap_up_started_at?|nullwrap_up_ended_at?|nullqueue_wait_seconds?integer|nulltalk_time_seconds?integer|nullhold_time_seconds?integer|nullwrap_up_time_seconds?integer|nulltotal_handle_time_seconds?integer|nullroom_name?string|nullroom_sid?string|nullsip_call_id?string|nullrecording_url?string|nulltranscript?string|nullsummary?string|nullsentiment?string|nullsentiment_score?number|nullai_quality_score?number|nulldisposition_code?string|nullis_first_call_resolution?boolean|nullis_escalated?boolean|nullagent_notes?string|nullend_reason?string|nullcost?number|nulltags?array<string>|nullextra_data?|nullai_wrapup?|nullhandoff_history?array<>agent_name?string|nullvoice_agent_name?string|nullcreated_at*Created AtFormat
date-timeupdated_at?|nullcurl -X GET 'https://api.luso8.rexplore.ai/api/v1/call-center/calls/string'Example Response
{ "id": "string", "call_center_id": "string", "organization_id": "string", "direction": "inbound", "status": "queued", "queue_id": "string", "caller_number": "string", "caller_name": "string", "caller_contact_id": "string", "agent_id": "string", "transferred_from_agent_id": "string", "handler_type": "string", "voice_agent_id": "string", "queued_at": "2019-08-24T14:15:22Z", "answered_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z", "wrap_up_started_at": "2019-08-24T14:15:22Z", "wrap_up_ended_at": "2019-08-24T14:15:22Z", "queue_wait_seconds": 0, "talk_time_seconds": 0, "hold_time_seconds": 0, "wrap_up_time_seconds": 0, "total_handle_time_seconds": 0, "room_name": "string", "room_sid": "string", "sip_call_id": "string", "recording_url": "string", "transcript": "string", "summary": "string", "sentiment": "string", "sentiment_score": 0, "ai_quality_score": 0, "disposition_code": "string", "is_first_call_resolution": true, "is_escalated": true, "agent_notes": "string", "end_reason": "string", "cost": 0, "tags": [ "string" ], "extra_data": {}, "ai_wrapup": { "summary": "string", "suggested_disposition": "string", "sentiment": "string", "sentiment_score": 0, "comments": "string", "generated_at": "string" }, "handoff_history": [ {} ], "agent_name": "string", "voice_agent_name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}