Twilio Phone Number
Import a phone number directly from your Twilio account and connect it to a DronaHQ voice agent.
This is the fastest way to give your agent a real phone number. You paste three pieces of information from your Twilio Console and DronaHQ takes care of the rest.
Overview
When the setup is complete:
- Your agent has a real, callable Twilio phone number attached.
- The agent can place outbound calls to any phone number.
- Calls are routed through Twilio using your own Twilio credentials.
- You can attach the same number to any voice agent in your workspace.
When to Use This
Use the Twilio phone number flow when:
- You already use Twilio (or want to start there)
- You want a working agent in minutes
- You don't already operate a SIP trunk
If you have an existing Twilio Elastic SIP Trunk and want to route calls through it, use SIP Trunking with Twilio instead.
Prerequisites
Before you start, make sure you have:
- An active Twilio account
- At least one voice-capable phone number purchased in your Twilio account
- Your Twilio Account SID and Twilio Auth Token (covered in Step 1 below)
Configure a Twilio Number
Step 1: Locate your Twilio credentials
- Sign in to the Twilio Console.
- Open Account → API keys & tokens.
- Copy your Account SID — it looks like
AC...followed by a long string. - Click Show next to Auth Token, then copy it.

Treat the Auth Token like a password. Anyone with this token can place calls and send SMS messages on your Twilio account. Never share it in screenshots, support tickets, or public channels.
Step 2: Open the Add Phone Number flow in DronaHQ
- Go to DronaHQ → Voice Agent → Phone Numbers.
- Click Add Phone Number.
- From the provider list on the left, select Twilio.

Step 3: Enter your Twilio details
Fill in the form with the values you collected:
Twilio Phone Number
- Paste the phone number in E.164 format (the international format with
+and country code). - Examples:
+14155551234,+919876543210,+442071838750. - This must be a number you have already purchased in your Twilio account.
- Required field.
Twilio Account SID
- Paste the Account SID copied from the Twilio Console.
- It begins with
AC. - Required field.
Twilio Auth Token
- Paste the Auth Token copied from the Twilio Console.
- The token is encrypted before it is saved and is never displayed again.
- Required field.
Click Import from Twilio.
Step 4: Verification
DronaHQ contacts Twilio with the credentials you provided and confirms that:
- The credentials are valid
- The number actually belongs to that Twilio account
- The number is voice-capable
On success you'll see the toast "Phone number imported from Twilio" and the number appears in your Phone Numbers list along with its detected capabilities (Voice, SMS, MMS, Fax).
If you only see a "Voice" badge, that number cannot send SMS. To enable SMS, check the number's settings in the Twilio Console.
Step 5: Attach the number to a voice agent
- Open the voice agent you want to attach this number to.
- In the right-side panel, expand Call Configuration → Outbound Settings.
- From the Outbound Phone Number dropdown, select the Twilio number you just imported.
The selected number is now used as the caller ID for outbound calls placed by this agent.

Testing Your Setup
Place a test outbound call from the same panel you used to attach the number:
- With the agent open, stay in Call Configuration → Outbound Settings.
- Confirm the Outbound Phone Number dropdown shows the Twilio number you just imported.
- In the destination field next to it, enter your own mobile number in E.164 format (e.g.
+14155551234). - Click Call.
- Pick up — you should hear the agent speak.
Inbound calls (someone calling into your Twilio number) are coming soon. For now, all production traffic should be outbound — your agent calls the recipient.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| "Number not found in your Twilio account" | Wrong account selected, or number not purchased yet | Double-check the Account SID is from the same Twilio project as the number |
| "Invalid credentials" | Auth Token was rotated, or copied with extra spaces | Copy the Auth Token again from the Twilio Console — make sure no leading/trailing whitespace |
| Number is added but missing Voice capability | The number is SMS-only or fax-only | Pick a voice-capable number in Twilio, or upgrade the existing number's capabilities |
| Call placed but recipient never gets it | Geo-permissions blocked in Twilio | Enable the destination country under Voice → Settings → Geo-permissions in the Twilio Console |
Best Practices
- Use a separate Twilio sub-account per environment (development, staging, production) so test calls never hit real customers.
- Rotate your Auth Token if you ever suspect it has been exposed.
- Set a billing alert in Twilio so you're notified before unexpected call volume burns through your balance.
- Pick a number whose country and area code match your audience to improve answer rates.
What's Next
- Plivo Phone Number — connect a Plivo number using the same flow
- SIP Trunking with Twilio — route this number through an existing Twilio Elastic SIP Trunk
- Telephony Introduction — back to the overview