Understand how calls progress in Simple AI
pre_call_webhook_url
configured and pre_call_webhook_enabled
set to true
, a POST
request is sent to that URL before the call is created. The payload includes information about the call and the agent:
pre_call_webhook_auth_token
is present, it is sent in the Authorization
header as a bearer token. The request times out after pre_call_webhook_timeout
seconds (default is 5). If the webhook returns a JSON body containing a parameters
object, those parameters are merged into the call parameters before creation. Errors or timeouts are ignored and the call proceeds normally.
call.started
webhook (see Webhooks).
call.transcript_update
webhooks with incremental transcript data. These allow your application to react in real time.
call.completed
webhook. You can then perform any post-call processing such as updating your records or downloading the call audio.
Understanding this flow helps you integrate pre-call logic and handle real-time events from Simple AI.