Request Payloads
These are the JSON payloads your webhook endpoint will receive for different events.Call Completed Event
Triggered when a call attempt finishes (completed, failed, or retry).Recording Completed Event
Triggered when call recording is processed and ready for download.Platform Analysis Event
Triggered when Ringg AI’s built-in analysis completes.Client Analysis Event
Triggered when your custom analysis completes based on your configured prompts.Implementation Examples
Node.js/Express
Field Descriptions
Common Fields
Field | Type | Description |
---|---|---|
event_type | string | Type of event: call_completed , recording_completed , platform_analysis_completed , client_analysis_completed |
call_id | string | Unique identifier for the call |
agent_id | string | ID of the AI agent that handled the call |
workspace_id | string | ID of your workspace |
Call Completed Fields
Field | Type | Description |
---|---|---|
call_duration | number | Duration of the call in seconds |
call_type | string | Direction: outbound or inbound |
status | string | Final call status: completed , failed , retry |
to_number | string | Phone number that received the call |
from_number | string | Phone number that made the call |
transcript | array | Array of conversation turns with bot and user messages |
custom_args_values | object | Custom data you provided when initiating the call |
retry_count | number | Number of retry attempts (0 for first attempt) |
Recording Fields
Field | Type | Description |
---|---|---|
recording_url | string | URL of the call recording |
recording_duration | number | Duration of the recording in seconds |
Analysis Fields
Field | Type | Description |
---|---|---|
analysis_data | object | Analysis results - structure varies by analysis type |
key_points | array | Main points extracted from the conversation (platform analysis) |
summary | string | Brief summary of the call (platform analysis) |
classification | string | Call category/type (platform analysis) |
sentiment | string | Overall sentiment: positive , negative , neutral (platform analysis) |