Send SMS via Twilio without Verification - RAILS - ruby-on-rails

Hey Guys I have an upgraded paid Twilio account and I'd like to send SMS without phone number verification through my Rails app.
Is there a way to do this?
Please advise
Thank you

Twilio developer evangelist here.
The phone number verification for SMS is only a restriction to trial accounts. Once you have upgraded your account you will be able to send SMS messages to any number (though we recommend you get consent for that activity from the end user, of course).
If you are finding that you can't send messages without verifying the number and you have upgraded the app, then please get in touch with Twilio support and they will figure out what is wrong with your account.

Related

Twilio is not able to send text message to DND activated mobile number

my client has registered to Twilio from US. I am developer and using Twilio service for testing purpose in India. I am sending text message to send One time password(OTP) to a mobile no in India for which DND is activated. I am not able to receive OPT via text message. Help me.
Twilio developer evangelist here.
I'm afraid the DND list is the top limitation of Twilio in India right now. You can check the details here.
You could, if you were interested, try using Authy (a different Twilio service) to send OTPs to your users. If they have a smart phone, they can then install the Authy application and generate their OTPs on their devise without the need for an SMS. Check out the Authy documentation for how to get started.

Twilio - can't send SMS messages to just anyone?

I'm new to Twilio - can you send SMS messages to just anyone? It seems like it requires me to verify each and every single phone number I'd like to send messages to rather than letting me send to any one of my users.
Is this true? Is there a way I can send messages to any of my ITSM users without having to preverify their phone number?
Twilio employee here. This is a restriction for trial accounts only. Once you add a credit card to your account, you will be able to send messages to any number you would like (based on the international permissions in your account, etc).

how to verify short verification code received from twilio

In my app user needs to verify his phone number to complete the registration process means when the user tries to register with phone number, a verification code will be send to his device. on inserting the code, the app should allow him to register , regarding this I am using twilio as SMS gateway. Does anybody has a sample code, so that I can through the code to check how this process is going to intiate.
Twilio developer evangelist here. There are a variety of blog posts that show you how to accomplish this around the Internet. For example:
A phone verification system with PHP and MySQL
Phone verification with Ruby and Rails
Phone verification using JavaScript and Parse
Or, if you want something even easier, Authy is a service that handles all the verification you need through just a few API calls.
Hope this helps.

Using Twilio to send pre-filled message from iOS handset instead of asking user to enter code?

I've seen several applications that use Twilio for SMS verification go from:
Sending the user a 4-5 digit code to enter on their handset
to
Pre-filling a 32+ character SMS message that the user sends from their device to the services Twilio number.
Is there any documentation out there on how to implement an approach like this?
Twilio evangelist here.
It sounds like your asking two different questions, one regarding two factor authentication and one regarding autocreating an SMS message on the device for the user to sent to Twilio.
If I've got that correct, then I'd start be working through the Two-Factor Authentication How To article that walks through setting up SMS-bsased two factor authentication.
Another resource to check out is the Add Two-Factor Authentication to your Website with Google Authenticator and Twilio SMS blog post.
As far as generating a text message on a device, I think that is going to greatly depend on what kind of mobile device you are targeting.
Hope that helps.

send SMS with rails from Uganda

I have a ruby on rails app that I would like to send and receive SMS from.
It looks like Twilio's service has some support https://www.twilio.com/sms/pricing/ug
However I cannot verify my Ugandan phone number.
Any ideas on how to programatically send SMS using Twilio in Uganda?
Twilio Developer Evangelist here,
If I understand correctly, your main issue is verifying your number? Contact help#twilio.com and they should be able to help you out with that.
I think all you need is in their blog post about setting up Twilio for Rails. And for the verification of your phone number, you should ask their support.

Resources