Skip to main content
Twilio integration cover
Twilio integration cover
Connect your Twilio account to NLPearl.AI and use your existing Twilio numbers for inbound and outbound campaigns. This gives you access to phone numbers from a wide range of countries, with local regulatory compliance handled directly by Twilio.

How to Integrate Your Twilio Account

1

Go to Phone Numbers Settings

Start by clicking your profile card at the bottom-left corner of the sidebar, then open Settings.
Open Settings from the profile card
From there, open the Phone Numbers tab to manage the numbers linked to your account.
Phone Numbers tab in Settings
2

Open the Twilio Connection

In the Phone Numbers tab, locate the Connect to Twilio row. Click Manage Twilio to open the connection panel and link your Twilio account.
Connect to Twilio from the Phone Numbers settings
3

Enter Your Twilio Credentials

The Connect your Twilio Account panel opens. A short guide on the left walks you through each value, with quick links to the right pages in your Twilio Console.Choose the method that fits your needs, fill in the fields on the right, then click Connect Twilio.
Use the Open Twilio Console and Open Twilio API Keys shortcuts inside the panel to jump straight to the right Twilio pages while filling in your credentials.
4

Import Your Twilio Phone Numbers

Once connected, the Twilio Account screen lists every number available on your account.Click Add to account next to a number to import it into NLPearl. A confirmation message appears, and the number becomes available in your account right away. To detach a number, click Remove next to it.
Import Twilio phone numbers into NLPearl
You can return to this screen at any time to import additional numbers, especially after adding new ones to your Twilio account.
5

Manage or Switch Twilio Accounts

The Twilio Account screen shows the connected Account SID at the top, so you always know which account is in use.To connect a different Twilio account, use the back arrow in the top-left corner to return to the connection panel and enter new credentials.
Manage or switch the connected Twilio account
Numbers you already imported stay linked to your NLPearl account. Switching Twilio accounts won’t affect them.

Deleting Phone Numbers

If you no longer need a phone number, you can schedule it for deletion directly from your settings.Start by going to the Phone Numbers section in your Settings. From there, locate the number you want to remove and click the Delete button next to it.
Delete a phone number from the Phone Numbers settings
A confirmation step will appear to make sure you really want to delete the selected number. The phone number will be removed from your NLPearl account immediately.
Deleting a phone number from NLPearl does not delete it from your Twilio account. Ensure that the phone number isn’t used in any running activities before deleting it from the platform.

Disabling HTTP Basic Authentication for Media Access

To ensure full functionality, disable HTTP Basic Authentication for media access in Twilio:
1

Access Twilio Voice Settings

Start by logging into your Twilio dashboard. In the left-hand navigation, click on Voice (1) to open the voice-related settings. Under the Voice section, select Settings (2), then click on General (3) to access the general voice configuration panel.
Open Voice > Settings > General in the Twilio Console
2

Disable HTTP Basic Authentication in Twilio

Once you’re in the Voice > General settings, scroll down to the HTTP Basic Authentication for media access section.Under this section, select Disabled to allow media URLs to be publicly accessible (1). Then, click the Save button at the bottom of the page (2) to apply your changes.
Disable HTTP Basic Authentication for media access in Twilio
By disabling this setting, you ensure that NLPearl.AI can access and use media resources without authentication issues.

Advantages of Twilio Integration

  • Access to Global Phone Numbers: Use phone numbers from countries not directly supported by NLPearl.AI by purchasing them through Twilio.
  • Compliance with Country Regulations: Twilio handles country-specific regulations, allowing you to purchase numbers that comply with local laws.
  • Leverage Existing Numbers: Utilize the phone numbers you already own in Twilio without needing to acquire new ones.

Important Considerations

  • Phone Number Ownership: Numbers are purchased and managed in your Twilio account. NLPearl.AI only lets you use them within the platform.
  • Running Activities: Before removing a number from NLPearl.AI, make sure it isn’t assigned to any active campaign to avoid disruptions.

If you need assistance with the integration process or have questions about using Twilio phone numbers with NLPearl.AI, please refer to our support resources or contact our support team.