Twilio has announced the Twilio API for WhatsApp which allows developers to add WhatsApp messaging capabilities to applications. Now using Twilio, developers can integrate nearly every messaging channel with applications via one Twilio Messaging APITrack this API. Among the messaging channels the Twilio Messaging API supports are SMS, MMS, Facebook Messenger, RCS, LINE and the newly added WhatsApp.
Facebook recently introduced the WhatsApp Business API which enables communication between a business and its customers in the form of information requests (customers provide their mobile phone number to receive messages from a business), click-to-chat buttons, and as a real-time customer service platform initiated through WhatsApp.
Twilio provides a sandbox environment for testing the Twilio API for WhatsApp, and the sandbox includes a number of developer resources such as a visual application builder (Twilio Studio), helper libraries, and debugging tools. Applications using the Twilio Messaging API can leverage SMS and other messaging channels in the event a user cannot be reached via WhatsApp.
In order to use the WhatsApp Business API, businesses must provision their WhatsApp business profile which requires approval. Developers can test applications with the Twilio API for WhatsApp in the sandbox. When an app is ready for production, developers can request access for a WhatsApp Business profile via the Twilio console. The request then undergoes the standard WhatsApp approval process.
"New channels like WhatsApp provide rich experiences for end users interacting with developers and their applications around the world," said Jeff Lawson, CEO of Twilio, in a prepared statement. "We're excited to provide the most expansive set of messaging experiences to billions of end users, all via one easy to use API. We can't wait to see what developers build."
For more information about the Twilio API for WhatsApp, view the API documentation.