Setting Up Webhooks
To receive post-call webhooks:- Set your webhook URL in assistant settings
- Activate “Post call webhook” in assistant configuration
- Configure which variables the AI should extract from conversations
Webhook Request Format
The webhook is delivered as a POST request to your URL with JSON payload:Payload Structure
Call identifier
Customer’s phone number in E.164 format (example: “+1234567890”) or null
Assistant’s phone number in E.164 format or null
Call length in seconds
Final call outcome (e.g., “completed”, “busy”, “failed”)
AI-extracted data based on your post-call schema
Variables provided to the assistant before call start
Full conversation transcript
Download URL for call recording (only if enabled in assistant settings)
ISO 8601 timestamp of call initiation
ISO 8601 timestamp of call completion (uses call record’s updated_at)
Lead details (only for campaign calls)
Configuration Options
Customize your post-call webhook behavior:- Send webhook only on completed: Only trigger webhooks for successfully completed calls
- Include recording in webhook: Add the
recording_urlfield to the payload - Custom variables: Define specific variables for AI to extract during conversations
Important Notes
customer_phoneandassistant_phonemay benullif unavailablerecording_urlis only included when “Include recording in webhook” is enabled in assistant settings- The
leadobject only appears for campaign-related calls extracted_variablescontains only the variables defined in your assistant’s post-call schema

