Can i directly send message to recipient using Twilio WhatsApp api without using join [key-word]. Is it because of Twilio Sandbox? - twilio

Can I directly send message to recipient using Twilio WhatsApp api without using join [key-word].
Is it because of Twilio Sandbox?
If I send request to enable my Twilio number of WhatsApp, issue will get resolved and I can send messages directly?

The join [key-word] system is just for the Twilio Sandbox for WhatsApp. It allows Twilio to use one WhatsApp number for all accounts that are testing with the Sandbox.
Once you have connected your Twilio number to your WhatsApp business profile you will be able to send messages to your users without requiring them to message you first. Note that WhatsApp does still require an explicit opt-in from your users before you can send to them. Also, for initiating conversations you will need to get template messages approved and then use the template as the first message. But the technical barrier of the join message will not be in your way.

Related

Twilio WhatsApp - Already bought phone number and creating messages

To send an SMS we can do:
await twilio.messages.create({
to: "07888888888",
from: twilioMessagingServiceSid,
body: "Body of message",
});
When using Whatsapp is it possible to do the same in the from parameter as in passing the twilio messaging service sid?
I would like to be able to support both SMS and WhatsApp for our customers using the same phone number that is already in use for SMS messaging.
Twilio developer evangelist here.
You can enable your Twilio number to send WhatsApp messages as well as SMS messages. There are a few steps to go through, at a high level they look like this:
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 full instructions to connect your Twilio number to your WhatsApp Business Profile are available in the documentation here.
Once you have done that, you can add your WhatsApp enabled number to the messaging service. Then, when you send a message to a WhatsApp number you can use the messaging service as the from and a WhatsApp number as the to.

Is it possible to receive a message from a webchat (on a website) and forward this message to Whatsapp using Twilio?

I'm looking into the Twilio Whatsapp API docs, and cannot find anywhere if it is possible to receive a message sent from a website webchat on a Whatsapp Business Account?
I would like to develop the following:
a user is on my website, and has a quesiton. He/she then opens the chatbox and types their question (non-whatsapp). This message is then sent to the Whatsapp Business Account of the Client and they can talk back and forth with the user.
I hope I have been clear enough, please let me know if I need to supply more information.
Twilio developer evangelist here.
I believe that this would be possible to do for one user messaging at a time, but practically and at scale, not really useful.
If you have a user sending a message through a website that is then delivered to a user through WhatsApp, you could build an application that allowed the user on WhatsApp reply to the message and relay that back to the website.
However, if you have one WhatsApp number registered to send messages on behalf of your application and multiple users were sending messages through the website, all the messages would come from that one WhatsApp number and it would be practically impossible for the user responding in WhatsApp to know who they were responding to.
It would likely be better to connect your users via webchat within the web application and use WhatsApp to notify the the client that there are new messages awaiting their reply.

How to initiate a 2 way SMS conversation between to validated phone numbers

We have the need to open an SMS conversion between clients and service providers. The thought is to send an initial request to the provider with a message from the client and then have the provider reply (and converse) directly with the client.
I've looked in the quick starts and the API docs but I don't see any clear pathway.
Am I missing some thing?
You can use a product like Twilio Conversations for that purpose. You add both as participants into a conversation. They communicate to each other via their assigned Twilio Proxy numbers.
Introducing Twilio Conversations: Now, every message becomes an invitation for a conversation
Using Twilio Conversations (Using Conversation You Tube Video - Signal 2019)

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

Implementing new phone number and SMS messaging functionality in Ruby on Rails web app

I have an existing web app built using Ruby on Rails. It already has a built-in email messages feature. Our users have requested for a functionality which is able to do the following (for US users only):
Get a unique and new US phone number which is tied to their registered email address (user ID in our web app
For others (users or non-users) to be able to send our registered SMS messages to this new number. The registered user will get a notification that he has received an SMS and will then go to Messages module to retrieve the SMS
The registered user should also be able to send an SMS message from his Message module to other users and their mobile numbers. These users will not be receiving the content of the SMS but rather be getting a notification that they have receved a SMS from our registered user and now they need to either creae a new ID or login using existing credentials and authenticate phone number in order to retrieve SMS from our user.
Question: What Ruby Gem could be used for such functionality?
Also, are there APIs and open source code available for such functionality?
I would also like to kee my costs low for all the above as we are still a start-up company.
Thanks in advance.
You might consider checking out Twilio (disclosure: I work for Twilio).
Twilio has a Ruby gem that provides a high-level API for sending SMS messages and buying phone numbers. You can also receive incoming SMS messages to a number by specifying "webhook" URLs that will receive an HTTP request when a message is received. You can sign up for a free trial account here.
Some relevant bits of documentation:
Sending an SMS
Find an available number (note: you can also do this through the GUI)
Buy the number you found (note: you can also do this through the UI on the site)
Responding to incoming messages

Resources