SMS via Twilio

Connect an SMS phone number to your Boei inbox using Twilio. Customers can text your number and your team can reply in Boei. You can also assign an AI agent and choose its reply settings.

Only want a website button that opens SMS? Use SMS button. That button alone does not connect messages to Boei.

How to get there: Go to Settings → Business in the left menu → click your website → Inbox tab → Channels → SMS card.

Prerequisites

  • A Twilio account (free trial available)
  • A phone number with SMS capability (purchased through Twilio)

Step 1: Buy a Phone Number in Twilio

  1. Log into the Twilio Console
  2. Go to Phone Numbers → Manage → Buy a number
  3. Select your country and make sure SMS is checked under Capabilities

Twilio buy toll-free number

Which number type should I pick?

For US and Canada, a toll-free number and a local US number have different approval requirements. A toll-free number needs approved toll-free verification before it can send messages. A local US number needs A2P 10DLC registration. Check the current number costs and requirements in your Twilio account before buying.

To find toll-free numbers, search with prefix +1833 or similar in the search field.

If you buy a local US number instead, Twilio requires A2P 10DLC registration before you can send SMS. This is a separate registration process. Wait for approval before relying on SMS replies.

Twilio local number warning

For other countries, check Twilio's number capabilities and destination-country requirements before buying. International delivery depends on the number, destination and account permissions.

Toll-Free Verification (US/Canada only)

After buying a US or Canadian toll-free number, Twilio requires a toll-free verification before you can send messages. You'll see a prompt on the number's page.

Twilio toll-free verification

Fill in the form:

  • Estimated monthly volume: Choose based on your expected usage (100 is fine to start)
  • Opt-in type: Select "Via Text" (customers text you first)
  • Messaging use case categories: Select "Customer Care"
  • Use case description: Describe how customers will use SMS, e.g., "Customers text our support number to ask questions. An AI agent replies automatically with answers about our product."
  • Sample message: An example reply, e.g., "Thanks for reaching out! I can help you with setting up your account. What would you like to know?"
  • Proof of consent: Your website URL where SMS support is mentioned
  • E-mail for notifications: Your email address
  • Privacy Policy URL and Terms & Conditions URL: Your policy pages

Wait until Twilio approves the verification before relying on outbound SMS. Follow Twilio’s current toll-free verification guide and check the status in your Twilio account.

Step 2: Connect Twilio to Boei

Follow Twilio account to connect the provider in Boei. If it is already connected, reuse it for this channel. Return here to add the number and webhook.

Step 3: Create an SMS Channel in Boei

  1. Still in the Channels tab, click SMS
  2. Click Add SMS Channel
  3. Enter a Channel Name (e.g., "Support SMS")
  4. Enter the SMS Phone Number you bought in Twilio (with country code, e.g., +18334561234)
  5. Select the Provider Account you connected in Step 2
  6. Optionally select an AI agent to auto-reply to incoming messages
  7. Click Create

Boei add SMS channel

After creating the channel, Boei shows the webhook URL. You'll need this in the next step.

Boei SMS channel with webhook URL

Step 4: Configure the Webhook in Twilio

This tells Twilio to forward incoming SMS messages to your Boei inbox.

  1. Copy the webhook URL from Boei (click the copy icon next to it)
  2. In the Twilio Console, go to Phone Numbers → Manage → Active Numbers
  3. Click on your SMS phone number
  4. Scroll down to Messaging Configuration
  5. Under "A message comes in", set it to:
    • Type: Webhook
    • URL: paste your Boei webhook URL
    • HTTP: HTTP POST
  6. Click Save configuration

Twilio SMS webhook configuration

Test the connection

Send a message from a separate customer account or phone. Check that it arrives in Team inbox, then send a reply and confirm it arrives on the customer's device. If AI should answer, check that the intended agent is selected and has knowledge and available credits.

Tip: Use a separate phone number for your SMS inbox channel and any other SMS notifications you send (like live chat agent alerts). If you use the same number, customer replies to notifications would accidentally create agent conversations.

Troubleshooting

Problem Solution
Messages not arriving in Boei Double-check the webhook URL in Twilio. Make sure it matches exactly and is set to HTTP POST.
"Authentication failed" error Verify your Account SID and Auth Token are correct. Re-copy from the Twilio Console.
Can't send SMS from US toll-free number Complete the toll-free verification in Twilio first.
Local US number blocked You need to complete A2P 10DLC registration for local US numbers. Consider a toll-free number instead.
SMS not delivered internationally Check the destination permissions, number capabilities and delivery error in Twilio.