How to Connect Twilio
You can connect Twilio to WordPress with an Account SID, Auth Token, and SMS number. Add them to Texty, turn on the gateway, and send a test SMS before you use live store alerts.
What do you need before you start?
Section titled “What do you need before you start?”You will need:
- Texty set up and active on your WordPress site.
- A Twilio account with access to the Twilio Console.
- Your Twilio Account SID and Auth Token.
- A Twilio number that can send SMS.
- A phone that can receive your test message.
If you have not chosen a provider yet, read how to connect your first SMS gateway.
Keep your Auth Token private: Do not show it in screenshots or support tickets. Anyone with this token may be able to use your Twilio account.
Where do you find your Twilio credentials?
Section titled “Where do you find your Twilio credentials?”Your live Account SID and Auth Token are in the Twilio Console.
Sign in to the Twilio Console and open a project.
Find your Account SID and copy it. Reveal your Auth Token, then copy it.
Find the Twilio number you plan to use for SMS.

Use your live keys, not Twilio test keys. Test keys do not send a real SMS to a phone.
How do you connect Twilio to Texty?
Section titled “How do you connect Twilio to Texty?”Log in to your WordPress admin.
Go to Texty > Gateway. Open the gateway configuration and select Twilio. Paste your value into Account SID and Auth Token.

Enter your Twilio number in From Number. Click Connect.
When the connection succeeds, click Activate.
Enter the sending number in full international format. For example, use +14155552671 instead of a local format.
Expected result: Twilio now shows as connected. Texty will use it for each new SMS.
How do you test the Twilio connection?
Section titled “How do you test the Twilio connection?”To test if the Twilio is proper connected, you need to open the Dashboard tab in Texty and find the Quick Send SMS feature. Enter a phone number with its country code.
Next, click Send Test. Check the phone for the test message. Open Texty > SMS Logs and review the new record.
A good send means Twilio took the message. It does not prove that the phone got it. If no SMS arrives, check the Texty log and your Twilio message log.
For more detail, follow how to send a test SMS.
Why is Twilio not connecting or sending?
Section titled “Why is Twilio not connecting or sending?”| Problem | What to check |
|---|---|
| Texty rejects the connection | Copy the Account SID and Auth Token again. Remove any extra spaces. |
| The test says no gateway is active | Return to the Twilio gateway and select Activate. |
| Twilio rejects the From Number | Use an SMS-enabled Twilio number from the same account. |
| A trial send fails | Make sure the receiving number is verified in your Twilio trial account. |
| The number is invalid | Use the full international format with a plus sign and country code. |
| Twilio accepts the SMS, but it does not arrive | Check the Twilio message log, country access, sender approval, and account status. |
Some countries require extra sender approval. Twilio also applies country and account rules. Check the rules for each place where you plan to send SMS.
What should you do next?
Section titled “What should you do next?”Your Twilio gateway is ready when the test reaches your phone and appears in SMS Logs. You can now enable one Texty notification and test the full store event.
If you later change providers, follow how to switch or disconnect an SMS gateway.