Initiates an outbound call from an assistant to a specified phone number. This endpoint is protected and requires authentication.
from_phone_number.from_phone_number (string, required): The phone number to call from, in E.164 format. This number must be assigned to an assistant or assistant graph in your organization.to_phone_number (string, required): The destination phone number to call, in E.164 format.assistant_id (integer, optional): Override the default assistant attached to the phone number. If not provided, the system uses the assistant assigned to from_phone_number.welcome_message (string, optional): A custom welcome message for the assistant to say at the beginning of the call. If not provided, the assistant’s default greeting will be used. Supports variable substitution using {{variable}} syntax.agenda (string, optional): A specific topic or goal for the call. This can be used to guide the assistant’s conversation. Supports variable substitution using {{variable}} syntax.variables (object, optional): A dictionary of custom variables for template substitution in the welcome_message and agenda. Variables can be referenced using double curly brackets, e.g., {{name}}, {{company}}, etc.assistant_id is provided: Use the specified assistant (must belong to your organization)from_phone_number is assigned to an assistant: Use that assistantfrom_phone_number is assigned to an assistant graph: Use the entry point assistant from the graph200 OK status with a JSON object containing the call_sid from your telephony provider, confirming that the call has been initiated.