Send and Receive SMS and MMS Messages with IBM Cloud and Twilio
- In IBM Cloud, set up a new Twilio SMS service.
- Enter your Account SID and Auth Token from the Console along with a Twilio number with SMS capabilities.
- Clone this repository
- Login to Cloud (ensure you have the CLI installed):
bluemix api https://api.ng.bluemix.net
bluemix login
- Set this environment variables (in the IBM Cloud console):
OUTGOING_PHONE_NUMBER
- Deploy the code:
bluemix app push APP_NAME
- In the Twilio console, add a webhook to /receive-sms
- Visit /send-sms
- Send a snarky response
- Receive an even snarkier retort
- Lovingly crafted by Twilio Developer Education
- MIT License