Webhook Configuration
To enable Post-Call Webhooks:- Configure your assistant’s webhook URL in the assistant settings
- Enable “Post call webhook” in the assistant configuration
- Define the post-call variables you want the AI to extract
Request Format
The webhook is sent as a POST request to your configured URL with the following JSON payload:Payload Structure
Unique identifier of the call
Customer’s phone number in E.164 format (e.g. “+1234567890”) or null if not available
Phone number used by the assistant in E.164 format or null if not available
Call duration in seconds
Final status of the call (e.g. “completed”, “busy”, “failed”)
Variables extracted by the AI based on your post-call schema configuration
Variables passed to the assistant before the call started
Full transcript of the conversation
URL to download the call recording (only included if “Include recording in webhook” is enabled in assistant settings)
ISO 8601 timestamp of when the call was initiated
ISO 8601 timestamp of when the call was completed (taken from the call record’s updated_at)
Lead information (only included for campaign calls)
Campaign information (if available)
Webhook Settings
You can configure the following options for your Post-Call Webhook:- Send webhook only on completed: Send the webhook only for successfully completed calls
- Include recording in webhook: Include the
recording_urlfield in the payload - Custom variables: Define custom variables the AI should extract from the conversation
Important Notes
- The fields
customer_phoneandassistant_phonecan be null if the information is not available - The field
recording_urlis only included if you have enabled “Include recording in webhook” in your assistant settings - The
leadobject is only included for calls that are part of a campaign - The
extracted_variablesobject contains the variables you defined in your assistant’s post-call schema configuration

