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
integer
Unique identifier of the call
string
Customer’s phone number in E.164 format (e.g. “+1234567890”) or null if not available
string
Phone number used by the assistant in E.164 format or null if not available
integer
Call duration in seconds
string
Final status of the call (e.g. “completed”, “busy”, “failed”)
object
Variables extracted by the AI based on your post-call schema configuration
object
Variables passed to the assistant before the call started
string
Full transcript of the conversation
string
URL to download the call recording (only included if “Include recording in webhook” is enabled in assistant settings)
string
ISO 8601 timestamp of when the call was initiated
string
ISO 8601 timestamp of when the call was completed (taken from the call record’s updated_at)
object
Lead information (only included for campaign calls)
object
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

