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 ConversationFlow 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 a ConversationFlow: Use the flow’s base assistant and live flow runtimefrom_phone_number is assigned to an assistant: Use that assistant200 OK status with a JSON object containing the call_sid from your telephony provider, confirming that the call has been initiated.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for initiating an outbound call.
Optional: Override the default assistant attached to the phone number. If not provided, uses the assistant assigned to from_phone_number.
Custom variables for template substitution in welcome_message and agenda using {{variable}} syntax