Skip to main content
The end-of-call-report event is triggered when a call completes and contains comprehensive analytics, recordings, cost breakdown, and AI-powered analysis results.
This is the most data-rich webhook event, containing full call metrics, analysis results, and recording information. It’s essential for post-call processing and analytics.

When It’s Triggered

This event is sent once per call when:
  • The call ends naturally (user or assistant hangs up)
  • The call is terminated due to timeout
  • The call is disconnected due to technical issues
  • Call forwarding completes

Event Structure

Key Features

Enhanced Call Object

The call object includes additional fields only available at call completion:

Complete Analysis Results

Analysis Object

The analysis object contains AI-powered analysis results for the call.
Analysis data is primarily populated in end-of-call-report events. Other events may contain empty analysis objects that will be filled once the call completes.

Summary

  • Generated automatically if enabled in assistant configuration
  • Provides 2-3 sentence overview of what happened during the call
  • Uses configurable prompt and LLM model

Success Evaluation

  • Determines if call met objectives based on assistant’s system prompt
  • Uses descriptive scale: Excellent, Good, Fair, Poor
  • Configurable evaluation criteria and rubric

Structured Data

  • Extracts specific data points according to predefined JSON schema
  • Commonly used for capturing:
  • Customer information (name, phone, email)
  • Appointment details
  • Call metadata
  • Custom business data

Example Structured Data Schema

Cost Breakdown

Detailed cost tracking across all services:

Performance Metrics

Comprehensive metrics for optimization:
  • Audio Quality: Packet loss, delays, dropped chunks
  • Response Timing: LLM, TTS, STT latency distributions
  • Turn Statistics: User/bot turns, interruptions, barge-ins
  • Error Tracking: Failed requests, retries, timeout counts

Example Payload

Common Use Cases

Call Analytics & Reporting

Recording Management

CRM Integration

Cost Tracking & Optimization

Performance Monitoring

Data Retention

Consider implementing data retention policies for end-of-call reports:

End of Call Report Event Example

This is a complete example of an end-of-call-report webhook event payload.