Skip to content

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.

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.

Twilio Console API Keys page with red arrows pointing to the API Key SID and API Key Secret fields

Use your live keys, not Twilio test keys. Test keys do not send a real SMS to a phone.

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.

Texty Gateway Configuration screen with Twilio connected, showing Account SID, Auth Token, and From Number fields

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.

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.

ProblemWhat to check
Texty rejects the connectionCopy the Account SID and Auth Token again. Remove any extra spaces.
The test says no gateway is activeReturn to the Twilio gateway and select Activate.
Twilio rejects the From NumberUse an SMS-enabled Twilio number from the same account.
A trial send failsMake sure the receiving number is verified in your Twilio trial account.
The number is invalidUse the full international format with a plus sign and country code.
Twilio accepts the SMS, but it does not arriveCheck 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.

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.