Twilio sandbox for development - twilio

We are using an SMS messaging service to send SMS to customers. In order to test and develop the things do we have any Twilio sandbox? We don't want to test all the things directly in PROD Twilio account.
Searched for a solution for the sandbox in Twilio but was not able. As per the article, we saw that there is an option only for WhatsApp only.

The Test Credentials are pretty helpful if you want to test a function and does an API call without actually sending a SMS.

Related

how to move from sandbox to prod on twilio whatsapp

Twilio Whatsapp - we have tested successfully on sandbox for our whatsapp messaging but how do we migrate it to prod. can someone help help how we can configure for prod.
Twilio developer evangelist here.
To move to production for WhatsApp you should follow the steps outlined in this tutorial.
At a high level the steps are:
Request access to enable your Twilio numbers for WhatsApp
Submit a WhatsApp Sender request in the Twilio console
Approve Twilio to message on your behalf in the Facebook Business Manager console
Submit your Facebook Business Manager account for Business Verification
(Twilio completes your WhatsApp Sender registration)
The tutorial has more details about the steps needed to enable WhatsApp for production use with Twilio.

Twilio whatsapp integration

Is it possible to send/receive SMS from whatsapp using twilio number? Anybody tried twilio with whatsapp? I asked customer care, if it is possible, he said, not sure but many people asked about that.
In case anyone else lands here, Twilio just released a WhatsApp integration via their new Business API
https://www.twilio.com/whatsapp
Twilio developer evangelist here.
Whatsapp do not have an API, so it is not possible to send or receive messages to Whatsapp using the Twilio API either.
If you are looking to send and receive messages to services like Whatsapp, then you might be interested in Twilio Channels. Channels are the various APIs that we are integrating into the one Twilio API so it's easy for you to send to all these third party services.
Channels lets you send and receive messages to services like:
Facebook
Slack
HipChat
Line
SendGrid (for email)
Twitter
Amazon Alexa
Viber
And will be supporting the following soon:
WeChat
Kik
BBM
You can sign up for early access to Channels here: https://www.twilio.com/marketplace/channels

Twilio calls integration to ios app without server app

This must be a silly question, but is there any way to make calls btw two iOS apps without server app mentioned in Twilio tutorials. Tell me please what server app does and is there any way to perform such tasks on front end instead?
Twilio developer evangelist here.
The server is required to generate an access token for your users to get access to the Twilio service.
You also need to host some TwiML to tell Twilio what to do with calls when you make them.
If you are not interested in running a server, however, you are in luck. Just recently, Twilio launched Functions, a serverless environment for you to deploy code to. With a Twilio Function, you can use Node.js to generate your access tokens for your users and you won't have to host the code yourself, it will all be on the Twilio platform.
Check out Twilio Functions in your console and take a look at the Node.js quickstart application for the iOS Twilio Programmable Voice SDK which should give you an idea of how to use Node for your application within Functions. I'm sure there'll be tutorials and blog posts coming out. Also, check out this video on how to create access tokens for your apps with Twilio Functions.
Let me know if that helps at all.

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.

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.

Resources