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

# Inbound Dial

This webhook is triggered when an inbound dial is made to a phone number linked to an agent. Elto will automatically run the agent after this webhook is triggered.
If the agent is configured with the inbound webhook response option, you may return a JSON object to fill in any parameters in the agent's prompt with the following typescript schema:

```typescript theme={null}
{
    call_agent_input: {
        [key: string]: string;
    };
    keywords: string[];
}
```

However, in this case you'll only have 3 seconds to respond before the call proceeds without the parameters filled in.

## Event Type

`dial.inbound`

## Payload

<table><thead><tr><th width="247">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>dial\_session\_id</code></td><td>string</td><td>The ID of the dial session.</td></tr><tr><td><code>dial\_id</code></td><td>string</td><td>The ID of the inbound dial.</td></tr><tr><td><code>dest\_number\_id</code></td><td>string</td><td>The Elto ID of the called phone number.</td></tr><tr><td><code>call\_agent\_id</code></td><td>string</td><td>The associated agent that was triggered by the call.</td></tr><tr><td><code>source\_number</code></td><td>string</td><td>The E.164 formatted phone number that is making the call.</td></tr></tbody></table>

## Example Message

```
{
    "event": "dial.inbound",
    "payload": {
        "dial_session_id": "de3ee23e-ce58-4e05-9e7b-fcb96ba440a6",
        "dial_id": "5a6c6190-db20-4d8e-86a9-79a6af292dea",
        "dest_number_id": "2310e824-a2cb-4b0c-88cf-8f8b745bf6ae",
        "call_agent_id": "32e4be84-0803-4c41-af70-5a87a2dc0a4e",
        "source_number": "+18001234567"
    }
}
```

## Example Response (with inbound webhook response)

```
{
    "call_agent_input": {
        "name": "John Doe"
    },
    "keywords": ["John", "Doe"]
}
```
