How to connect Twilio to SMS Manager in WHMCS
Connect the Twilio account intended to carry your SMS traffic, using matching account credentials and an approved sender. PD SMS Manager supports API-key authentication and Auth Token authentication; the Account SID is needed in either mode.
Prepare the account and credential
Install PD Modules, connect the account holding your licence and install PD SMS Manager. Keep the intended Twilio Account SID available. Twilio recommends application API keys; a dedicated key can be replaced independently of unrelated integrations. Follow Twilio’s API-key guidance.
A Restricted API key can grant message-list and message-creation permissions separately. The module’s connection test lists messages, while sending creates a message. Review both intended operations instead of granting account-management access just to make a test pass. Credentials are region-specific, and this native gateway has no alternate API-region selector.
Add the gateway
- Open SMS Manager → Gateways → Add a gateway and choose Twilio.
- Give it a recognisable Gateway name and enter Account SID, beginning
AC. - Under Authenticate with, choose the intended API Key or Auth Token mode.
- For API Key, enter API Key SID beginning
SKand its matching API Key Secret. For Auth Token, enter the intended account’s token instead. - Set From to the approved SMS sender, or a Twilio Messaging Service SID beginning
MGwith appropriate senders available in its pool. - Save and use Test connection, then deliberately review default and explicit routing.
Do not exchange an Account SID, API Key SID and Messaging Service SID: each identifies a different thing. For a number, use international format and confirm SMS capability for the intended destination.
Confirm the intended workflow
Review the standard client Phone Number field or nominated mobile custom field in Settings. A successful message-list read does not prove creation permission, sender readiness or delivery. Review any account restrictions on verified destinations before a real send.
Use Test / Debug Log only for a module rehearsal. A deliberately intended real test can incur provider charges. Inspect History and the Twilio message reference afterwards, and reconcile an Unknown result before repeating it.
See the PD SMS Manager WHMCS guide for related tasks, or explore PD SMS Manager.