Skip to main content

Connect your Twilio account

How to use our built-in webphone to call with your own Twilio account

Written by Jeppe Liisberg
Updated over a week ago

This guide explains how to connect your Twilio account to Myphoner using the current Twilio Voice SDK architecture.

Myphoner handles token generation, identities, and voice routing automatically.

You only need to create a TwiML App, assign it to your Twilio number, and add your API credentials in Myphoner.

No Twilio Functions, templates, or custom server code are required.

Read on if you want to connect and use your Twilio subscription to conduct calls in Myphoner using our built-in dialer.

Overview

The connection works like this:

  1. Myphoner generates secure Voice Access Tokens using your Twilio API Key.

  2. Your browser connects to Twilio using the Voice JavaScript SDK.

  3. Twilio routes calls through your TwiML App.

  4. Your Twilio phone number uses that app for incoming and outgoing calls.


Requirements

Before starting, make sure you have:

  • A Twilio account

  • At least one Twilio phone number (or a verified outgoing caller ID)

You will create an API Key in Twilio during setup.


Step 1 — Create a Twilio API Key

  1. Open the Twilio Console.

  2. Search for “API Keys & Tokens.”

  3. Create a new Standard API Key.

After creating the key, copy:

  • API Key SID

  • API Key Secret

Store the secret safely — Twilio only shows it once.


Step 2 — Create a TwiML App (used for outbound calling)

  1. In the Twilio Console, search for “TwiML Apps.”

  2. Create a new TwiML App (for example: Myphoner Voice).

Voice Configuration

Set:

  • Voice Request URL → paste from Myphoner (Manage → Settings → Dialler → Twilio)

  • Method → HTTP POST

Save the TwiML App and copy the App SID — you will enter this in Myphoner.


Step 3 — Assign inbound routing to your Phone Number

  1. Open Phone Numbers in the Twilio Console.

  2. Select the number you want to use with Myphoner.

  3. In Voice Configuration, set:

  • A CALL COMES INWebhook

  • URL → paste from Myphoner (Manage → Settings → Dialler → Twilio)

  • Method → HTTP POST

Save your changes.

Incoming calls will now ring the Myphoner client, while outbound calls use the TwiML App you configured above.


Step 4 — Add Twilio Credentials in Myphoner

Inside Myphoner’s Twilio integration settings, enter:

  • Account SID

  • Auth Token

  • API Key SID

  • API Key Secret

  • TwiML App SID


Step 5 — Enable Twilio on your user profile(s)

For each user, go to Preferences > Dialling, under Dialler, select Twilio & click Update.

Then select a Caller ID from your Twilio phone numbers in each user's dialling preferences.


Step 6 — Test the Connection

That's all it takes. The dialler will appear at the bottom of your window when looking at a lead, and you can dial by clicking the phone number of the lead or the phone icon in the dialler (the latter will call the first phone number of the lead).

Now test the connection:

  • Place a test outbound call from Myphoner.

  • Call your Twilio number from an external phone to confirm inbound routing.

If both directions work, the setup is complete.


Notes

  • Myphoner uses the modern Twilio Voice JavaScript SDK with Access Tokens.

  • API Keys are used instead of the Account Auth Token for improved security.

  • No Twilio Functions, Classic Runtime, or Quickstart templates are required.

  • Multiple numbers can use the same TwiML App.


Troubleshooting

Calls fail or do not connect

  • Verify the TwiML App SID matches the one configured in Myphoner.

  • Confirm the API Key SID and Secret were copied correctly.

Inbound calls do not ring in Myphoner

  • Check that your phone number’s incoming voice setting is assigned to the Myphoner inbound URL shown in Myphoner (Manage → Settings → Dialler → Twilio).

If issues persist, contact Myphoner support and include your Twilio Account SID and a recent Call SID.

Please note that call quality depends on both the quality of your Internet connection and your provider, and myphoner has no influence on that.

Did this answer your question?