> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intellixent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Make a call

> Initiate an outbound phone call using one of your AI assistants.

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

## Endpoint

`POST /user/make_call`

## Request

<ParamField body="phone_number" type="string" required>
  Recipient phone number in E.164 format (e.g., `+1234567890`).
</ParamField>

<ParamField body="assistant_id" type="integer" required>
  ID of the assistant to use for the call. Must be an outbound assistant.
</ParamField>

<ParamField body="variables" type="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}}`.

  <Expandable title="Example variables">
    <ParamField body="customer_name" type="string">
      Name of the customer. Used to personalize the conversation.
    </ParamField>

    <ParamField body="email" type="string">
      Email address of the customer.
    </ParamField>
  </Expandable>
</ParamField>

## Response

<ResponseField name="message" type="string">
  Confirmation that the call was initiated.
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  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"
      }
    }'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://portal.intellixent.ai/api/user/make_call', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      phone_number: '+15551234567',
      assistant_id: 127,
      variables: {
        customer_name: 'Jane Doe',
        email: 'jane@example.com'
      }
    })
  });

  const data = await response.json();
  console.log(data.message);
  ```
</CodeGroup>

```json 200 Response theme={null}
{
  "message": "Call initiated successfully",
  "data": {}
}
```

<Note>
  The call is initiated asynchronously. Use the [List calls](/api-reference/calls/get-calls) or [Get call](/api-reference/calls/get-call) endpoints to monitor the call status.
</Note>
