Overview
After executing calls within a campaign, you can export and retrieve detailed call data including transcripts, metadata, QA results, and outcomes. The Prosper API provides endpoints to list and retrieve call logs for comprehensive data analysis and integration with your systems.Exporting Call Data
1. List Call Logs
To retrieve all call logs from a specific campaign, use the List Call Logs endpoint:page: Page number for pagination (default: 1)page_size: Number of results per page (default: 20, max: 100)status: Filter by call status (e.g.,completed,failed,in_progress)from_date: Filter calls from a specific dateto_date: Filter calls up to a specific date
2. Get Individual Call Log Details
For detailed information about a specific call, use the Get Call Log endpoint:- Full transcript: Complete conversation between the AI agent and the participant
- Extracted data: Post-call data extraction results based on campaign configuration
- QA results: Quality assurance scores and assessments
- Call metadata: Duration, timestamps, phone numbers, and status
- Outcomes: Call results and next steps
Best Practices for Data Export
Bulk Export Workflow
For exporting large volumes of call data:- Use the List Call Logs endpoint with pagination to retrieve all call IDs
- Filter by date range to export data from specific time periods
- Use the Get Call Log endpoint to retrieve detailed information for each call
- Implement rate limiting and retry logic to handle API limits gracefully
Webhook-Based Export
For real-time data export, configure the campaign webhook (as described in Executing Calls within a Campaign):- Set up a webhook endpoint in your system
- Configure the webhook in the Prosper platform under
Campaign > Settings > Notifications - Receive real-time notifications when targets finish
- Use the
call_log_idfrom the webhook payload to retrieve detailed call data immediately
Filtering and Search
To efficiently locate specific calls:- Filter by status to retrieve only completed or failed calls
- Use date ranges to export data from specific periods
- Store
call_log_idin your system for quick lookups
Summary
| Step | Action |
|---|---|
| 1 | List call logs using GET /api/v1/campaigns/call-logs |
| 2 | Apply filters (status, date range, pagination) to narrow results |
| 3 | Retrieve detailed call data using GET /api/v1/campaigns/call-logs/{call_log_id} |
| 4 | Process and store transcript, extracted data, and QA results |