Start an AI Voice-Agent Call
wa_ai_call_startHave an AI voice agent call a WhatsApp number from one of your numbers, using a preset from wa_ai_list_presets. Pass per-call context in variables. Returns immediately with a call_ref; the call then rings and runs on its own. Poll wa_ai_call_get about every 30 seconds until status is done, failed, no_answer or busy — then it carries the summary, transcript, collected data and a recording link. One call at a time per number; a number that just finished a call must wait a moment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | the WhatsApp number to call, international format, e.g. +447700900123 | |
| preset | Yes | the preset name, from wa_ai_list_presets | |
| variables | No | per-call context for the agent: flat string/number/boolean values, merged over the preset's defaults, e.g. {"customer_name":"Ann","order_id":"A-1042"} | |
| first_message | No | override what the agent says first on this call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | what to do next | |
| status | No | dialing once accepted | |
| refusal | No | present only when the call was not placed | |
| call_ref | No | pass to wa_ai_call_get to follow the call |