SMS Configuration
Configure the SMS module with your provider credentials.
Twilio Setup
Prerequisites
- Twilio account
- Twilio phone number
- Account SID and Auth Token
Configuration Steps
- Go to Admin Panel > SMS > Settings
- Enable module
- Enter Twilio credentials:
- Account SID
- Auth Token
- Phone Number (sender)
- Save
Twilio Credentials
Find credentials in Twilio Console:
- Log into Twilio Console
- Copy Account SID
- Copy Auth Token
- Get a Twilio phone number
Testing
Test your configuration:
curl -X POST 'http://localhost:3030/sms/send' \
-H 'masterkey: YOUR_MASTER_KEY' \
-H 'Content-Type: application/json' \
-d '{
"to": "+1234567890",
"message": "Test message from Conduit"
}'
Best Practices
- Verify phone numbers before sending
- Handle delivery failures gracefully
- Monitor usage to control costs
- Use templates for consistent messaging