What is the proper method to send a WhatsApp message via Twilio using a Zapier webhook?

Using Zapier and Twilio, my script returns an auth error when sending WhatsApp confirmations. How fix?

sendReq("https://api.twilio.com/n", {method:"POST", auth:"Basic abc"});

Based on previous experience with similar setups, the issue appears to stem from the authentication method used. Instead of relying solely on the auth parameter in your request, consider explicitly constructing the Authorization header with the Base64 encoded credentials. In my implementation, I encountered a similar error and resolved it by ensuring that the full account SID and auth token were correctly encoded and passed via the header. Also verify that you’re using the correct Twilio endpoint URL for WhatsApp messaging, as discrepancies there may also lead to authentication issues.