{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "outbound", "status": "completed", "duration": 125, "recording_url": "https://storage.example.com/recordings/abc123.wav?token=xyz", "transcript": "Agent: Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.\n\nCaller: Yes, I'll be there. Thank you for the reminder.", "transcript_segments": [ { "speaker": "agent", "text": "Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.", "start_time": 0.5, "end_time": 5.2 }, { "speaker": "caller", "text": "Yes, I'll be there. Thank you for the reminder.", "start_time": 5.8, "end_time": 8.3 } ], "sentiment": "positive", "call_summary": "Appointment confirmation call. Customer confirmed their dental appointment for tomorrow at 2pm.", "metadata": { "customer_id": "cust_123", "campaign": "appointment_reminder" }, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}
Calls
Get Call
Retrieve details of a specific call including transcript and recording
{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "outbound", "status": "completed", "duration": 125, "recording_url": "https://storage.example.com/recordings/abc123.wav?token=xyz", "transcript": "Agent: Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.\n\nCaller: Yes, I'll be there. Thank you for the reminder.", "transcript_segments": [ { "speaker": "agent", "text": "Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.", "start_time": 0.5, "end_time": 5.2 }, { "speaker": "caller", "text": "Yes, I'll be there. Thank you for the reminder.", "start_time": 5.8, "end_time": 8.3 } ], "sentiment": "positive", "call_summary": "Appointment confirmation call. Customer confirmed their dental appointment for tomorrow at 2pm.", "metadata": { "customer_id": "cust_123", "campaign": "appointment_reminder" }, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}
Get detailed information about a call, including its status, transcript, summary, and recording URL.
{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "outbound", "status": "completed", "duration": 125, "recording_url": "https://storage.example.com/recordings/abc123.wav?token=xyz", "transcript": "Agent: Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.\n\nCaller: Yes, I'll be there. Thank you for the reminder.", "transcript_segments": [ { "speaker": "agent", "text": "Hello, this is Sarah from Acme Dental. I'm calling to confirm your appointment tomorrow at 2pm.", "start_time": 0.5, "end_time": 5.2 }, { "speaker": "caller", "text": "Yes, I'll be there. Thank you for the reminder.", "start_time": 5.8, "end_time": 8.3 } ], "sentiment": "positive", "call_summary": "Appointment confirmation call. Customer confirmed their dental appointment for tomorrow at 2pm.", "metadata": { "customer_id": "cust_123", "campaign": "appointment_reminder" }, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}