Sandbox test whatsapp chat:
- Go to https://console.twilio.com/us1/develop/sms/try-it-out/whatsapp-learn
- Get the WhatsApp number, send the code to join sandbox
- At sandbox setting, set the api endpoint
- When Twilio WA number receives the message, it makes a POST request to the webhook URL you set (in the sandbox settings).
POST request:
From=whatsapp%3A%2B60123456789
&To=whatsapp%3A%2B14155238886
&Body=Hello+AI
&MessageSid=SMxxxxxxxxxxxx
&NumMedia=0