Feature/1781 Twilio is integrated with app for event triggered notifications#3410
Conversation
xihai01
left a comment
There was a problem hiding this comment.
awesome stuff! 😄 Left a few comments for you. I also have a suggestion. According to the Twilio docs, they recommend using API keys since they aren't attached to the main account and can be easily issued and revoked: https://www.twilio.com/docs/usage/rest-api-best-practices#control-access-to-your-accounts
|
Yes, API keys :) |
Refactored to use API keys instead. Updated the description (curl request + pics) on how I understand they work. |
|
@harsohailB Don't forget to update the screenshot |
|
Failing tests are |
|
During production deployment, we will need to put |
|
@harsohailB tests are failing. Seems like you need to run a migration |

What github issue is this PR for, if any?
Resolves #1781
What changed, and why?
Twilio Account SID,Twilio API Key SID,Twilio API Key Secret, andTwilio Phone Numberunder the "Edit Organization" tabThese are given by Twilio in their console as follows:
A POST request like the following is sent to send an SMS which requires these three parameters:
CasaOrgmodel to store the three attributesHow will this affect user permissions?
How is this tested? (please write tests!) 💖💪
CasaOrg(invalid phone number input not accepted)Screenshots please :)