Skip to main content
Initiates an outbound phone call to the specified number using one of your configured AI assistants.

Endpoint

POST /user/make_call

Request

phone_number
string
required
Recipient phone number in E.164 format (e.g., +1234567890).
assistant_id
integer
required
ID of the assistant to use for the call. Must be an outbound assistant.
variables
object
Custom variables to pass into the call. These should match the variable names defined on your assistant and are accessible in the system prompt via {{variable_name}}.

Response

message
string
Confirmation that the call was initiated.

Example

curl -X POST "https://portal.intellixent.ai/api/user/make_call" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_number": "+15551234567",
    "assistant_id": 127,
    "variables": {
      "customer_name": "Jane Doe",
      "email": "jane@example.com"
    }
  }'
200 Response
{
  "message": "Call initiated successfully",
  "data": {}
}
The call is initiated asynchronously. Use the List calls or Get call endpoints to monitor the call status.