LogoLogo
Release notesHomepageTry demo
  • Welcome to B2CORE docs
  • Integrations
    • Platforms
    • Payment systems
    • KYC providers
    • Communication platforms
    • Other systems
  • Back Office guide
    • Get started
    • Clients
      • General
        • Client tab
        • Contacts tab
        • Event log tab
        • Accounts tab
        • Transactions tab
        • Finance tab
        • History tab
        • Trades tab
        • Services tab
        • Files tab
        • Settings tab
        • Advanced tab
        • Compliances tab
        • Devices tab
        • Documents tab
        • Mailing Log tab
        • Introducing brokers tab
      • Services
      • Requests
      • Accounts
      • Managers
      • Types
      • Events log
      • Jurisdictions
    • Introducing brokers
    • Finance
      • Deposits
      • Payouts
      • Deposit wallets
      • Transfers
      • Exchange
      • Transactions
      • Reports
    • Savings
      • Presets
      • Plans
    • Bonuses
      • Bonus presets
      • Bonus distribution
      • Temporary bonuses
    • Currencies
      • Currencies
      • Rates
      • Currency pairs
    • Cashback
      • MetaTrader Volume
        • Preferences tab
        • Tiers tab
    • Products
      • Products
      • Groups
      • Rights
      • Platforms
    • Promotion
      • Banners
      • Announcements
      • Dashboard
      • Menu
    • Mailing
      • Marketing
      • System
    • Ticket feedback
    • Verification
      • Levels
      • Documents
      • Document types
      • Document groups
      • Client tests
    • Investment platform
    • System
      • SMS Providers
      • Key storage
      • Deposit system
      • Payout system
      • Wizards
      • Bulk actions
      • Operation types
      • Countries
      • External connections
      • Localizations
      • Requests
      • Templates
        • Email
        • SMS
        • Slack
        • Telegram
      • Logs
      • Settings
      • Event notifications
      • Users
        • Users
        • Groups
        • Client Tags
      • Events
      • Client rights
      • Client folders
      • Backend images
      • Import data
      • Visual customization
    • Security
      • Search by IP
      • Blocked clients
      • Black lists
      • White lists
      • Transaction monitoring
      • Address whitelist
      • Email black list
    • References
      • Client statuses
      • Client request statuses
      • Transaction statuses
      • Event types for triggering event notifications for Back Office users
      • Product permissions
      • Supported currencies
      • Supported cryptocurrency payment methods
      • Block explorer list
  • How-to articles
    • Manage clients
      • How to register a new client
      • How to change a client password
      • How to disable 2FA for a client
      • How to enable internal transfers for a client
      • How to view deposit or withdrawal wallet addresses
      • How to upload files to a client profile
      • How to assign tags to clients
      • How to approve or reject client requests
      • How to create categories for the Event log
      • How to create a jurisdiction
    • Manage finances
      • How to create a deposit
      • How to create a payout
      • How to create a transfer
      • How to exchange funds
      • How to create a report
      • How to update balances
      • How to process transactions with the Partial status
    • Manage savings programs
      • How to create a savings program
        • Configure the Flexible strategy settings
        • Configure the Fixed strategy settings
    • Manage currencies
      • How to add a currency
      • How to configure currency exchange rates
      • How to add an exchange currency pair
      • How to set priorities for exchange rate providers
      • How to enable requests for exchanges in specific currency pairs
      • How to update rates in exchange requests
    • Manage bonuses
      • How to create a bonus preset
      • How to create a temporary bonus program
      • How to automatically credit bonuses to clients upon deposits
      • How to manually credit bonuses to clients
    • Manage products
      • How to create a wallet
      • How to restrict the use of a product
    • Manage platforms
      • How to integrate B2TRADER
      • How to integrate DXtrade
      • How to integrate Match-Trader
      • How to integrate MetaTrader
      • How to integrate TradeLocker
      • How to integrate OneZero and PrimeXM
      • How to enable one-click trading access from the B2CORE UI and mobile app
    • Manage cashback options
      • How to configure cashback programs for MT4 and MT5
    • Manage advertising options
      • How to create a banner
      • How to create an announcement
      • How to configure the default Dashboard
      • How to add Ticker Widget symbols to the Dashboard
      • How to configure a menu in the B2CORE UI
    • Manage mailing options
      • How to send an email
      • How to create an email template
      • How to configure SMTP
      • How to configure SendGrid
      • How to determine why clients fail to receive email notifications
    • Manage verification options
      • How to use the KYC constructor
      • How to use SumSubstance
      • How to use ShuftiPro
      • How to use iDenfy
      • How to create a client accreditation test
    • Manage system settings
      • How to set up the Registration wizard
        • How to add and configure the Registration wizard
        • How to set up fields for the Basic Information step
        • Fields supported in the Basic Information step
        • How to set up fields for the Advanced step
        • Field types and validation rules
        • How to configure the User Registration step
      • How to change the wizard workflow
      • How to block registration for a country
      • How to add or remove a language
      • How to create a request resolution type
      • How to create a request resolution
      • How to set up event notifications
      • How to set up Apple push notification
      • How to add a user group and grant permissions
      • How to add an admin user
      • How to make an admin user see only specific clients
      • How to add a manager
      • How to create a bulk action
      • How to export a CSV file with email addresses
      • How to change Back Office images
      • How to set up 2FA
      • How to import client-related data
      • How to import data related to Back Office user groups
      • How to configure a connection to Zendesk
      • How to switch from SupportPal to Zendesk
      • How to configure a connection to RudderStack
      • How to configure settings for mobile app downloads
    • Manage payment methods
      • How to add non-PSS deposit and withdrawal methods
        • How to integrate B2BINPAY
      • How to add the manual deposit or withdrawal method
      • How to add the Constructor deposit or withdrawal method
      • How to add deposit and withdrawal methods through PSS
        • How to integrate BridgerPay
        • How to integrate PayPal
        • How to integrate Paytiko
        • How to integrate Praxis
      • How to configure commissions for deposit and withdrawal methods
      • How to restrict the use of deposit and withdrawal methods
    • Manage communication platforms
      • How to configure Twilio
      • How to set up a Slack bot
      • How to set up a Telegram bot
      • How to get Telegram chat, group and channel identifiers
  • B2CORE Mobile
    • Deploying your iOS app
    • Deploying your Android app
  • B2CORE API
    • Restricted access to the API
  • Release notes
    • Release notes
    • Release notes Mobile
Powered by GitBook
On this page
  • How to sign up with Twilio
  • How to configure Twilio as a 2FA SMS provider
  • How to configure Twilio as a phone service provider
  • How to test the Twilio phone service operation

Was this helpful?

  1. How-to articles
  2. Manage communication platforms

How to configure Twilio

PreviousManage communication platformsNextHow to set up a Slack bot

Last updated 3 months ago

Was this helpful?

You can configure B2CORE to use the communication platform to deliver 2FA codes via SMS or make phone calls to your clients via the Back Office.

The following information is required to configure a connection to Twilio via the Back Office:

  • Twilio account SID

  • Twilio authentication token

  • Twilio phone number

  • TwiML App SID

How to sign up with Twilio

This instruction describes how to sign up with Twilio and obtain the required information to connect to Twilio via the Back Office.

This instruction is created based on the latest version of Twilio as of this writing. Due to possible changes to the procedures described here, we suggest that you consult the official or contact their support in case you have any questions.

1

Go to the website and click Sign up to register a new account.

By default, a free trial account is created.

2

Sign in to your account and upgrade it to go live by clicking Upgrade your account.

Once the account is upgraded, your Twilio account SID and authentication token are generated automatically.

3

Obtain a Twilio phone number by following the instructions provided in these articles:

4

Create a TwiML App by following these steps:

  • Go to the . This page is available after signing in to your Twilio account.

  • Click Create new TwiML App.

  • Fill out the TwiML App form:

    • In the Friendly Name field, specify a name for your app.

    • In the Request URL field displayed in the Voice Configuration pane, specify a URL for your voice app webhook (such as api.company.name.com/api/v1/voice/twilio-webhook).

    • In the Request Method dropdown, select HTTP POST.

    • In the Request URL field displayed in the Messaging Configuration pane, specify a URL for your messaging app webhook (which is a URL of your B2CORE Back Office).

    • In the Request Method dropdown, select HTTP POST.

    • Click Create to create the app.

Once the app is created, your TwiML App SID is generated automatically.

Use the obtained Twilio account SID, authentication token, phone number and TwiML App SID to configure a connection to Twilio via the B2CORE Back Office.

How to configure Twilio as a 2FA SMS provider

You can configure Twilio to deliver 2FA codes to your clients via SMS.

Before configuring Twilio as a 2FA SMS provider, make sure that you have obtained the following required information:

  • Twilio account SID

  • Twilio authentication token

  • Twilio phone number

To configure Twilio as a 2FA SMS provider:

1

Navigate to System > SMS Providers, and then click +Create in the upper-right corner of the page.

2

Fill in the following fields:

  • In the Name field, enter a name that you want to use for the configuration (such as twilio_sms).

  • In the Caption field, enter a caption that will be applied to the configuration in the Back Office (such as Twilio SMS).

  • In the Provider dropdown, select Twilio.

3

Click Save to save the configuration.

4

On the Edit provider page, specify the following connection settings:

  • In the API sid field, specify your Twilio account SID.

  • In the API secret field, specify your Twilio authentication token.

  • In the Sender phone number field, specify your Twilio phone number.

5

Make sure that the Enabled field is set to Yes.

6

Click Save.

How to configure Twilio as a phone service provider

Twilio can be configured to make phone calls to your clients via the Back Office.

Before configuring Twilio as a phone service provider, make sure that you have obtained the following required information:

  • Twilio account SID

  • Twilio authentication token

  • Twilio phone number

  • TwiML App SID

To configure Twilio to make phone calls, do the following:

1

Navigate to System > External Connections, and then click +Create in the upper-right corner of the page.

2

In the Create connection popup, fill in the following fields:

  • In the Name field, enter a name that you want to use for the connection.

  • In the Caption field, enter a caption that will be applied to the connection in the Back Office.

  • In the Provider dropdown, select TwilioVoice.

3

Click Save to save the connection.

4

On the Edit connection page, specify the following settings:

  • In the Account SID field, specify your Twilio account SID.

  • In the Auth token field, specify your Twilio authentication token.

  • In the Caller ID (Phone number) field, specify your Twilio phone number.

  • In the TwiML App SID field, specify your TwiML App SID.

5

In the Enabled dropdown, select Yes.

6

Click Save to create the connection.

Twilio can now be used to make phone calls to your clients via the Back Office.

How to test the Twilio phone service operation

After you have configured a connection to Twilio for making phone calls via the Back Office, you can make a call to one of your clients to test the connection.

To make a call:

1

Navigate to Clients > General.

2

Select the client and click the Edit button.

3

Go to the Contacts tab.

4

If no error message is displayed in the Back Office, the Twilio connection is configured properly.

To learn how to obtain the required information, refer to .

Twilio can now be used to deliver 2FA codes via SMS. To learn more, refer to .

To learn how to obtain the required information, refer to .

Click the phone button displayed in the Phones section to dial a specified phone number using Twilio.

How to sign up with Twilio
How to sign up with Twilio
Twilio
Twilio documentation
Twilio
How to Search for and Buy a Twilio Phone Number from Console
Twilio Phone Number Types and Their Capabilities
TwiML Apps page
Create a new TwiML App
Create a new TwiML App
How to set up 2FA with SMS