Skip to main content
DialogBot sends a POST request to your configured webhook URL immediately after each call finishes. The payload includes the call transcript, duration, status, and any variables your AI assistant extracted from the conversation.

Setup

1

Open assistant settings

Go to your assistant in the dashboard and navigate to Post-Call Actions.
2

Enter your webhook URL

Paste the URL of your server endpoint that will receive the webhook.
3

Enable the webhook

Toggle Post call webhook on.
4

Define extracted variables (optional)

Add custom variables for the AI to extract from each conversation (e.g., lead_quality, next_action).
You can also enable or disable this webhook via the API using the Enable Inbound Webhook endpoint.

Webhook options

Payload fields

integer
Unique identifier of the call.
string
Customer phone number in E.164 format (e.g. +1234567890), or null if unavailable.
string
Phone number used by the assistant, or null.
integer
Call duration in seconds.
string
Final call status: completed, busy, or failed.
object
Variables extracted by the AI based on your post-call schema configuration.
object
Variables passed to the assistant before the call started.
array
Array of transcript objects with text, sender (bot or human), and timestamp fields.
string
Human-readable transcript with AI: and Customer: prefixes.
string
URL to download the call recording. Only present if Include recording in webhook is enabled.
string
ISO 8601 timestamp when the call started.
string
ISO 8601 timestamp when the call ended.
object
Lead information. Only present for campaign calls.
array
Transfer calls made during this call. Only present if transfers occurred.

Example payload