Status and sub-status reference
status is the call’s lifecycle state and sub_status refines it. Every call event carries both, except recording_completed, which has only sub_status.
status
sub_status
The values depend on status.
- On
registeredandretry:QUEUED. - On
ongoing:ACCEPTED.
completed, upper-case:
On
cancelled:
On
failed and error, sub_status is the telephony provider’s hangup cause, lower-cased, plus a few Ringg reasons. Treat it as a free-form string, not an enum. Common values:
Field reference
Common fields
Present on every event unless the per-event notes below say otherwise.One of
call_started, call_ringing, call_ongoing, call_completed, chat_completed, recording_completed, platform_analysis_completed, client_analysis_completed, all_processing_completed.The call this one was created from;
null if dialled directly. See Linking retries and callbacks.Telephony provider of the number that placed the call, for example
plivo, twilio, exotel, vobiz. Only on call_started for API, campaign and scheduled calls; not on test calls, web calls or any other event. Can be null.Logs of the tools run before and during the call.
Call started fields
Call completed fields
Also present onplatform_analysis_completed, client_analysis_completed and all_processing_completed.
completed, failed, error, cancelled, forwarded, or the interim retry. See Status and sub-status reference.null on call_completed; the recording arrives with recording_completed and all_processing_completed.Recording fields
recording_completed carries the common fields except status, agent_id, workspace_id, version_slug and version_description, plus:
Recording URL. It may expire about a day after the event is sent; Get Call Details always returns a fresh link.
Analysis fields
The results. On
client_analysis_completed the keys are the ones you defined in Advanced Analysis. On platform_analysis_completed: