How to Set Up Twilio WhatsApp API?

Create a Twilio Account and Setup Sandbox Environment to send Whatsapp Messages.

Login to the account. After that, you will find the below screen.

Twilio WhatsApp API

Click on AccountàGeneral Setting to get Account SID and Auth token. It will be used further.

Twilio WhatsApp API

Please find below highlighted values that get the Account SID.

Twilio WhatsApp API

To get the  Auth Token details, click on Key and Credentials to get AUthtoken.Here Authtoke is used further.

Twilio WhatsApp API

Another way to get all the information, it will be there in the developing tab, and you find the Account info section with all details.

Twilio WhatsApp API

To test WhatsApp messages, whether it is sending or not, we need to check in Messaging-à Try it OutàSend a Whatsapp Message.

Twilio WhatsApp API

To test the WhatsApp messages, we need to connect the Twilio sandbox by sending Whatsapp Message from your device to Twilio Account by typing “Join Call popular”, so that you will be registered in the sandbox Environment.