Jump to: navigation, search

Twilio WhatsApp

Twilio Integration

With Twilio for WhatsApp reach users on the world’s most popular messaging app through one streamlined API, officially supported by WhatsApp. With real-time delivery and read, receipts get your critical message delivery insights. The secured communications over HTTPS from your application will enable private conversations with your users. Your WhatsApp branded business identity will serve as familiar face users see and help you increase brand loyalty.

WhatsApp has an average open rate of over 98%, making it most effective among all channels for sending crucial information like payment reminder/confirmation, order updates, etc.

Advantages of integrating WhatsApp API into your website –

  • Connect with your customers globally
  • Send messages across any mobile OS, device, and carrier.
  • Know the instant a message reaches your users with read-recipients.
  • Secure communication with end-to-end communication.
  • Deepen customers’ trust in brand messaging.

Requirement for integration

Certain requirements are to be fulfilled for successful integration, they are:

Step – 1 Create Account and Application

  • Go to, Twilio, and log in to your account or sign up.
  • Twilio WhatsApp1.png

  • To start your application go to the dashboard and click WhatsApp.
  • Twilio WhatsApp2.png

  • Here, you’ll find a WhatsApp number, where you’ll be instructed to send a message.
  • Save the message on your phone and send the message shown.
  • This number is the Sender ID (until your application is in Sandbox Mode), so please save it for future references.
Note – Your application is in Sandbox mode.

Step – 2 Get the API Details

  • Go to settings.
  • Twilio WhatsApp3.png

  • From the General tab, you’ll get the Account SID.
  • Twilio WhatsApp4.png

  • Copy and save the SID.
  • Scroll down to and to find the API Credentials.
  • Twilio WhatsApp5.png

  • Copy and save the Auth Token.

Step – 3 Integration in to Admin Panel

  • In the Admin Panel go to, Admin >> Store Configuration >> External Service Setting >> SMS Notification Tab >> Twilio WhatsApp >> Enable the toggle
  • Under the Edit, enter the Account SID, the Auth Token, and the Sender ID.
  • Keep the Mode as Live, and enter the email ID.
  • Twilio WhatsApp6.png

After configuration go to, Admin >> Content Management >> Email/SMS Notifications >> SMS Notifications

Here, add SMS notification messages for various instances and keep their statuses enabled. If there are no messages integrated, the WhatsApp messages will not be sent.

Twilio WhatsApp7.png

Once you save the configuration details, your customers will be able to see a message under their My Profile and Registration Page asking their consent to opt for WhatsApp notifications.


Also, while adding any customer from the Admin Panel, you’ll get the option to enable the WhatsApp notifications for the customer.


Step – 4 Switch to live mode

To get your Sender ID you would require to connect with the Twilio Team and make your application live.