Overview
The End of Call webhook is triggered immediately after each individual call completes. This allows you to receive real-time updates about call outcomes, transcripts, and analysis data.Webhook Payload
When a call ends, Clarion sends a POST request to your configured webhook URL with the following payload:The unique identifier for the call.
The ID of the assistant that handled the call.
ISO 8601 timestamp when the call started.
ISO 8601 timestamp when the call ended.
The status of the call. Possible values:
queued, ringing, in-progress, forwarding, ended.The duration of the call in milliseconds.
The reason why the call ended (e.g.,
customer-ended, assistant-ended).Full conversation transcript with speaker labels (
AI: and User:).The phone number that initiated the call (E.164 format).
The phone number that received the call (E.164 format).
The type of call (e.g.,
outboundPhoneCall, inboundPhoneCall).Call analysis metrics and custom data extractions.
AI-generated summary of the call.
The outcome of the call (e.g.,
resolved, unresolved, voicemail).If the call was unsuccessful, this indicates the reason. Possible values:
declined, escalated, requested-callback, customer-dropped, assistant-ended, opt-out.Content of voicemail message if one was left.
Handling the Webhook
Your webhook endpoint should:- Accept POST requests with a JSON body
- Return a
200status code to acknowledge receipt - Process the payload asynchronously if needed to avoid timeouts
If your endpoint does not return a
200 status code, Clarion may retry the webhook delivery.
