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

# Inbound Calls

> A step-by-step guide to receiving phone calls using **Sell Agent** imported numbers.

## ☎️ Receive Calls

Once you've purchased and imported Twilio phone numbers into **Sell Agent**, you can start receiving inbound calls by assigning an **inbound agent** to the number.

## 🔗 Bind Voice Agents

To enable inbound calling, you **must bind a voice agent to the number**.

* You can assign **separate agents** for **inbound** and **outbound** calls.
* If you only want to make outbound calls and avoid callbacks, simply leave `inboundAgentId` unset.
* Likewise, to disable outbound calls, leave `outboundAgentId` unset.

✅ Once you bind an agent for **inbound**, your number will immediately begin receiving inbound calls.

<img src="https://mintcdn.com/sellagent-f6a60d80/xwxOjUZ1cjk-9QCV/images/agent-assigned.png?fit=max&auto=format&n=xwxOjUZ1cjk-9QCV&q=85&s=e7dc884c6b55c1662f807dfcdfbed20c" alt="Agent Assigned" width="854" height="287" data-path="images/agent-assigned.png" />

***

## 📥 Inbound Call Webhook

In many cases, you may want to dynamically:

* Use **different agents** to handle inbound calls.
* Inject **dynamic variables** into the conversation (e.g., caller name, business name).
* Pass other context-specific data.

To support this, **Sell Agent** allows you to configure an **Inbound Call Webhook**. This webhook is triggered **when an inbound call is received**, giving you a chance to:

### 🛠️ Option 1: Programmatically

Set the webhook when creating or updating the agent — to review all available agent parameters, check the ****[Update Agent API](/api-reference/agent/update)****.

```json theme={null}
"webhookURL": "https://example.com/webhook"
```

### ⚙️ Option 2: Through Agent Settings UI

You can also configure the webhook directly in the dashboard under Agent Settings:

<img src="https://mintcdn.com/sellagent-f6a60d80/xwxOjUZ1cjk-9QCV/images/agent-webhook.png?fit=max&auto=format&n=xwxOjUZ1cjk-9QCV&q=85&s=a5337b5b9e2147f1509e30df8461c0d2" alt="Agent Webhook" width="313" height="189" data-path="images/agent-webhook.png" />

* Return a specific `agentId`
* Provide `dynamicVariables`
* Set the `language`, `voice`, or other options dynamically

### 🛠️ Example Webhook Response

Your webhook should return a JSON response like this:

```json theme={null}
{
  "agentId": "agent_abc123",
  "dynamicVariables": {
    "first_name": "Alex",
    "company": "Mint Cafe"
  },
  "language": "en",
  "voice": "Emily"
}
```
