Overview
Retrieve all data extracted from a voice call, including:
- Extracted fields - Custom data points extracted from the conversation
- Extraction config - What fields were configured for extraction
- Lead outcome - Classification result (qualified, dnc, pending, etc.)
- Objective status - Whether call objective was met
Extraction happens automatically after each call when extraction_fields is configured on the agent.
All extracted data is automatically white-labeled (technology provider names removed).
Authentication
Path Parameters
The call ID to retrieve extractions for
Response
{
"success": true,
"call_id": "call_9edb137b8014366b8cf399330da",
"extraction_config": ["credit_score", "loan_amount", "interest_rate", "loan_type"],
"extracted_fields": {
"credit_score": "720",
"loan_amount": "$350,000",
"interest_rate": "6.5%",
"loan_type": "30-year fixed"
},
"extracted_at": "2026-01-23T19:45:32Z",
"call_status": "ended",
"call_successful": true
}
Response Fields
Whether the request was successful
List of fields that were configured for extraction on the agent
JSONB object containing all extracted key-value pairsExample:{
"credit_score": "720",
"loan_amount": "$350,000",
"interest_rate": "6.5%"
}
ISO timestamp when data was extracted
Call status: ended, ongoing, error
Whether the call was successful
Request Examples
curl -X GET "https://api.teli.ai/v1/voice/calls/call_9edb137b8014366b8cf399330da/extractions" \
-H "X-API-Key: YOUR_API_KEY"
Endpoint: GET /v1/voice/extractions/phone/{phone_number}
Retrieve all extractions for a specific phone number across all calls.
Path Parameters
Phone number in E.164 format (e.g., +15551234567)
Query Parameters
Organization unique_id to filter by
Maximum results to return (max: 100)
Response
{
"success": true,
"phone_number": "+15551234567",
"extractions": [
{
"call_id": "call_xxx",
"extracted_fields": {
"credit_score": "720",
"loan_amount": "$350,000"
},
"extraction_config": ["credit_score", "loan_amount", "interest_rate"],
"lead_outcome": "qualified",
"objective_met": true,
"call_date": 1763586795333,
"call_duration_ms": 57610,
"call_successful": true,
"extracted_at": "2026-01-23T19:45:32Z"
},
{
"call_id": "call_yyy",
"extracted_fields": {
"interested": "no"
},
"lead_outcome": "dnc",
"objective_met": false,
"call_date": 1763486795333,
"call_duration_ms": 25000,
"extracted_at": "2026-01-22T14:20:15Z"
}
],
"count": 2
}
Request Example
curl -X GET "https://api.teli.ai/v1/voice/extractions/phone/+15551234567?organization_id=org_xxx" \
-H "X-API-Key: YOUR_API_KEY"
Use Cases
Lead Qualification
Extract key qualifying information:
"extraction_fields": ["budget", "timeline", "credit_score", "interested"]
Customer Support
Capture support details:
"extraction_fields": ["issue_type", "account_number", "resolution_needed", "satisfaction"]
Appointment Scheduling
Extract booking details:
"extraction_fields": ["preferred_date", "preferred_time", "appointment_reason", "special_requests"]
Sales Calls
Capture deal information:
"extraction_fields": ["product_interest", "quantity", "budget", "decision_timeframe", "decision_maker"]
Best Practices
Keep fields simple - Use clear, descriptive field names (e.g., email, phone_number, budget)
Limit field count - Extract 5-10 fields max per call for best results
Configure on agent - Set extraction_fields when creating agent for automatic extraction
Poll for results - Use Get Call Details endpoint to check when extraction is complete
Notes
- Extraction happens automatically after call ends (not during call)
- Results available within 5-10 seconds of call completion
- Empty
extracted_fields means either:
- No extraction_fields configured on agent
- Call ended before information could be gathered
- Transcript didn’t contain requested information
- All field keys and values are automatically white-labeled