@brokeros/int-sms-twilio) connects to Twilio Programmable Messaging and supports both direct virtual numbers and Messaging Services (Copilot).
Twilio SMS Pipeline
Required Credentials
To connect Twilio, retrieve the following credentials from your Twilio Console:Configuration Steps
1
Retrieve Credentials from Twilio Console
Open the Twilio Console. Under Account Info, copy your Account SID and Auth Token.
2
Configure a Phone Number or Messaging Service
Navigate to Messaging -> Services to configure an intelligent Copilot sender pool, or purchase an active SMS-enabled virtual long code under Phone Numbers -> Manage -> Buy a Number.
3
Add Twilio in BrokerOS Settings
In the BrokerOS dashboard:
- Navigate to Dashboard -> Marketing -> SMS -> Settings.
- Select the Gateways & Phone Pools tab (
/dashboard/marketing/sms/settings?tab=providers). - Click on Twilio from the available gateways catalog.
- Fill in the modal fields: Gateway Name (e.g.
Twilio Global SMS), From Sender (phone number in E.164 format), Account SID, Auth Token, and optional Messaging Service SID (MG...). - Click Connect Gateway. BrokerOS tests credentials against
https://api.twilio.com/2010-04-01/Accounts/${accountSid}.json, encrypts secrets with AES-256-GCM, and saves them inSmsIntegration.
4
Configure Inbound Webhook for 2-Way Messaging
In the Twilio Console under your Phone Number or Messaging Service configuration, set the Incoming Webhook URL to:Select
HTTP POST. Inbound customer replies will now instantly stream into the SMS Team Inbox.