Back

Do we support any other sms providers except Twilio, TextMagic & TeleSign

  • 0
  • Flutter
appwrite_newbie
14 Aug, 2023, 12:24

I need SMS provider who has a support for Indian numbers for OTP verification

I would need a Indian phone number for OTP verification as twilio at present doesn't have a Indian phone number because of which i have to use international number and verify through it which would show effect on billing for me

TL;DR
The user is asking if there are any SMS providers supported other than Twilio, TextMagic, and TeleSign. Someone replies that there is another provider in beta, but it cannot be used in production yet. The user asks if there are any alternatives to registering for DLT. Another user suggests using Msg91, but mentions that it may not provide Flow ID without DLT in India. The user asks how to get the Flow ID and Sender ID from Msg91. Another user provides a link to the Appwrite documentation which shows that Flow ID and Sender ID are needed. They also give instructions on how to set up the environment variables for
Binyamin
14 Aug, 2023, 12:31

Yes, you can use other services as msg91 which isvery good for India

Check here for more details https://appwrite.io/docs/environment-variables#phone

After editing those variables inside your .env file run

TypeScript
docker compose down && docker compose up -d

The adding of Plivo which is the chipest one is still under review, you can track it here https://github.com/utopia-php/messaging/pull/16

appwrite_newbie
14 Aug, 2023, 15:04

@Binyamin by any chance do you have the docs for integrating msg91

appwrite_newbie
14 Aug, 2023, 15:06

with appwrite

Binyamin
14 Aug, 2023, 15:07

Yes, it's in the link I've send you

Edit the .env file Set the _APP_SMS_PROVIDER like so

TypeScript
_APP_SMS_PROVIDER=sms//SENDER_ID:AUTH_KEY@msg91

Change USER and SECRET to the information you got from msg91

Then set the number in the _APP_SMS_FROM

TypeScript
_APP_SMS_FROM=FLOW_ID
Binyamin
14 Aug, 2023, 15:07

Then reload your compose

TypeScript
docker compose down && docker compose up -d
appwrite_newbie
14 Aug, 2023, 15:09

https://appwrite.io/docs/sms-delivery in the doc over here it shows we would need FLOW ID and SENDER ID

Binyamin
14 Aug, 2023, 15:10

Yes

appwrite_newbie
14 Aug, 2023, 15:11

i'm loosing the path in getting the FLOW ID and SENDER ID from msg91

Binyamin
14 Aug, 2023, 15:11

I've update the message

appwrite_newbie
14 Aug, 2023, 15:12

thank you, but do you have the idea About how we can get the FLOW ID and SENDER ID from msg91

Binyamin
14 Aug, 2023, 15:21
  1. Create Auth key
  2. In SMS create sender ID
  3. Create a flow in the Voice menu
Binyamin
14 Aug, 2023, 15:23

I'm not sure about the last part maybe it should be templates inside SMS or OTP

Shubham
15 Aug, 2023, 10:16

i think msg 91 does not give flow id without dlt in india , i fyou have dlt , you will get it easily

appwrite_newbie
16 Aug, 2023, 13:06

Checked out and i feel registering for DLT for a standalone at early stage isn't that easy do we have any other alternatives ?

Toufeeq Ahamed
16 Aug, 2023, 14:59

I guess AppWrite cloud doesn’t require all these setup. You can directly use it without dlt

Shubham
16 Aug, 2023, 18:32

yes , but its in beta now , so we can not use this in production at this point

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more