Chat Bridge notifies the final status of each originated call through an HTTP POST request (webhook).
To enable notifications you must provide the Voices team with the destination URL, which is configured in your App-Key. Optionally, you can define HTTP headers with constant values (for example, an authorization token) that will be sent with each webhook.
A SENT event is emitted when the call completes and includes the conversation duration, transcription, analysis results and collected data; a FAILED event is emitted when the call could not be initiated and includes the SIP termination code. Your endpoint must accept application/json and respond with a 2xx HTTP code; failed deliveries are retried automatically.
Overall status of the call. SENT when the conversation finished (includes the duration); FAILED when the call initiation failed (includes the SIP termination code).
Network type of the destination number according to the National Numbering Plan (for example MOVIL or FIJO).
Human-readable description corresponding to the SIP code.
Identifier of the conversation on the voice platform. null when the call never reached the provider.
Result of each evaluation criterion configured on the agent. Only present on SENT events, after the conversation was analyzed.
Data collected during the conversation, keyed by variable. Only present on SENT events, after the conversation was analyzed.
Transcription of the conversation in chronological order. null when no conversation took place.