Initiates an outbound call from an assistant to a specified phone number. This endpoint is protected and requires authentication.
from_phone_number.| Parameter | Type | Required | Description |
|---|---|---|---|
from_phone_number | string | Yes | Phone number to call from (E.164 format). Must be assigned to an assistant in your organization. |
to_phone_number | string | Yes | Destination phone number (E.164 format). |
assistant_id | integer | No | Override the default assistant. If not provided, uses the assistant assigned to from_phone_number. |
welcome_message | string | No | Custom greeting for this call. Supports {{variable}} template syntax. |
agenda | string | No | Call objective/context for the AI. Supports {{variable}} template syntax. |
variables | object | No | Key-value pairs for template substitution in welcome_message and agenda. |
assistant_id is provided: Uses that specific assistant| Field | Type | Description |
|---|---|---|
message | string | Status message |
call_sid | string | Unique identifier for the call from your telephony provider |