I am trying to create a function from appwrite to send an SMS from my Flutter application using Twilio.
I know appwrite has a built in api to send SMS for phone authentication , but this is not what I need, I want to create customised SMS that will be sent to the user upon request, containing data collected from the app
Everything I found on the web is discussing Appwrite functions and SMSes for authentication, some Youtube videos do refer to sending SMS but with JavaScript, and I am having hard time connecting the dots....
Any help will be appreciated
Summary
User is looking for help on creating a function from Appwrite to send custom SMS messages from a Flutter application using Twilio. They have searched online but have only found tutorials on SMS authentication. They are looking for any assistance or guidance.
Solution: One user suggests using the Twilio API's REST API to send SMS messages. Another user recommends using the twilio_flutter package for Flutter. However, it is noted that there may not be specific documentation for Dart or Flutter in the Twilio docs. Additionally, a suggestion is made to use Appwrite functions and provide a custom criteria to trigger the function. A link to a blog tutorial on
Thank you for your response,
As I mentioned in My post, I have seen this tutorials many time , and they do not help me with my goal, I dont need SMS for auth.
joeyouss
Aug 9, 2023, 12:14
I am searching through twilio docs and I cannot see dart or flutter in their docs but there should be something
You could do what Jyoti said, and create a function to do this with Nodejs or one of the other supported frameworks by Twilio. I think it's better that way
YahalomS
Rank 1: Thread
Aug 10, 2023, 14:38
This package is great, but it works in the frontEnd and comes with many potential problems, in Security: you transfer you AuthToken and the SID to the FrontEnd, and if this is not enough, once you decide to renew the token, you will need to update the app, running it in the backend solves both problems, if it works….