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

Configure variables

Add your Twilio account creds, phone numbers, and Ultravox API key.
4

Make the outbound phone call

Run it with node index.js.

Next Steps

  1. Check out the full Outbound Phone Call example for a fuller explanation of how to do outbound voice AI calls.
  2. Ultravox Realtime provides telephony integrations for Telnyx, Twilio, Plivo, and Exotel. Learn more here.