
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

hi, any chance you saw this and this is of help to you? https://dev.to/appwrite/phone-authentication-with-appwrite-and-twilio-26ek

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.

I am searching through twilio docs and I cannot see dart or flutter in their docs but there should be something
ok, how does this sound, you use appwrite functions for this and you said you have seen a lot of blogs and they have login authentication using phone, instead we can create a criteria that triggers the function https://www.twilio.com/blog/sending-sms-messages-dart-twilio-programmable-sms
the tricky part is using it to serve a purpose other than login and authentication

give me some time to look around more

Why don't you look at this flutter package? https://pub.dev/packages/twilio_flutter

I think its way outdated

Oh yeah I just saw. My bad.

Well, Twilio SMS has a REST API that you can use https://www.twilio.com/docs/sms/api

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

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….

we are discussing this in Office hours rn

@Aditya Oberai shared this: https://dev.to/adityaoberai/rick-roll-your-friends-using-appwrite-twilio-and-net-4180

here's another example: https://github.com/open-runtimes/examples/tree/main/python/send_message
Recommended threads
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
