Warning: This project is no longer maintained. Go to this tutorial for updated information about securing your Flask App for Twilio requests.
An example application that demonstrates how to build webhooks with Twilio and Flask, visit this link.
Getting your local environment setup to work with this app is ridiculously easy.
- Run the python flask file.
python app.py
-
Open browser to http://localhost:5000/message. Should see a message that this method is not allowed, since only Twilio can make requests to this url-- see below.
-
Tweak away on
app.py
.
To learn how Twilio uses these webhooks to connect calls and messages go here.
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.