Skip to main content

TL;DR

1

Steal this code

Save the following code locally as index.js.
2

Install twilio node library

Install twilio via pnpm | npm install twilio.
3

Install Express.js

Install express via pnpm | npm install express.
4

Configure variables

Add your Ultravox API key.
5

Start the server

Run it with node index.js.
6

Expose the endpoint

ngrok http 3000.
7

Configure incoming call webhook in Twilio

Set the value to your_ngrok_url/incoming.
8

Call your Twilio number

Call your Twilio number and it will be answered by Steve.

Next Steps

  1. Check out the full Inbound Phone Call example for a fuller explanation of how to have incoming calls answered by an AI agent.
  2. Ultravox Realtime provides telephony integrations for Telnyx, Twilio, Plivo, and Exotel. Learn more here.