After each call attempt completes (connected or not), the system sends a POST request to your webhook URL with the attempt result. Configure the webhook URL in the campaign’s app_config.webhook_config.

Payload schema

app_id
string
required
ID of the agent
app_version
integer
required
Version of the agent
attempt_id
string
required
Unique identifier for this call attempt
campaign_id
string
required
Campaign this attempt belongs to
cohort_id
string
required
Cohort this attempt belongs to
completion_status
string
required
Outcome of the call. One of: completed, partial, failed
connectivity_status
string | null
Whether the call connected. One of: connected, busy, no_answer, failed, or null
next_action_status
string | null
Next action for the retry engine (retry, reschedule, business_retry, short_duration_retry, provider_error_retry, internal_error_retry), or null if terminal
failure_reason
string | null
Reason for failure, if applicable
user_identifier
string
required
Unique identifier for the user (from cohort transformation config)
user_phone_number
string
required
Phone number of the user in E.164 format
agent_phone_number
string | null
Phone number used by the agent for the call
duration
number | null
Call duration in seconds. null if the call did not connect.
interaction_id
string | null
Unique interaction ID for retrieving transcripts and recordings. null if the call did not connect.
retry_attempt
integer
required
Which attempt this is (0 = first attempt, 1 = first retry, etc.)
executed_at
string | null
Timestamp when the call was executed (ISO 8601)
initial_agent_variables
object | null
Agent variables passed to the call from the cohort
final_agent_variables
object | null
Agent variables at the end of the conversation. null if the call did not connect.
interaction_transcript
array | null
Transcript of the conversation as a list of turns. Each turn has role ("agent" or "user") and en_text. null if the call did not connect.
metadata
object | null
Custom metadata from the webhook configuration

Examples

Connected attempt

Not connected attempt