A mailer, member database, and so much more, for digital activism.
To use text blasting and receive messages from members via SMS using Twilio, follow these instructions
Set up a Twilio account, and upgrade to a fully paid account.
Buy a phone number(make sure it is SMS enabled).
Configure an identity API token with permission to access the twilio webhook endpoint by executing this code in a rails console. Copy the token for use in the next step. APIUser.create_with_permission!('twilio_webhook', name: 'twilio', active: true).token
Configure the phone number under the “Messaging” section to make an HTTP POST request to https://{ your deployment }/twilio/api/inbound_sms?api_token=YOUR_API_TOKEN_HERE
Get your API keys from Twilio on the main dashboard under Settings, General, scroll down to API Credentials.
Set the ENV variables:
TWILIO_ACCOUNT_ID
TWILIO_AUTH_TOKEN
SMS_TEXT_FROM_NUMBER
The number you bought above e.g. +447480123456
APP_COUNTRY
(or Settings.app.country
) to your alphabetic country code, used to filter mobile numbers