Skip to content

Sending alert messages to multiple whatsapp users using Twilio?

I need to send whatsapp messages to multiple phone numbers using node.js.I am using the twilio Api to achieve this.I signed up in twilio,followed the steps and used my mobile number for the sandbox.I used the code in node.js application,it worked with my whatsapp number,but not with other phone numbers.Is there anything to deal with a trail version?? Or Is their any other way to sort this out? please let me know.


Twilio developer evangelist here.

The WhatsApp Sandbox is intended for testing and you can only send messages to numbers that have sent you the phrase required to join your sandbox (the phrase is the word “join” plus two random words, like “join ceil-maltese”).

Once you have tested and you want to take your application to production, you need to create a WhatsApp Business profile and connect a Twilio number that you own to it. Once you have gone through the process documented here you will be able to send WhatsApp messages to your users once they have opted-in to receive those notifications.