--- title: "How to Integrate WhatsApp to Tegsoft Web Chat via Twilio?" slug: "how-to-integrate-whatsapp-to-tegsoft-web-chat-via-twilio" updated: 2026-10-28T17:14:45Z published: 2026-10-28T17:14:45Z canonical: "docs.tegsoft.com/how-to-integrate-whatsapp-to-tegsoft-web-chat-via-twilio" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.tegsoft.com/llms.txt > Use this file to discover all available pages before exploring further. # How to Integrate WhatsApp to Tegsoft Web Chat via Twilio? Twilio is the one of **API providers** of **WhatsApp**. It allows users to benefit from **Web Chat** features through **WhatsApp**. This article describes how to integrate WhatsApp to Tegsoft Web Chat via Twilio. By reading this article, you will have information about: - setting up Twilio messaging service, - integrating and activating Tegsoft web chat feature by using Twilio. ## Twilio Integration and Activation Steps ## Please, follow the steps below to integrate WhatsApp to Tegsoft Web Chat via Twilio. ### 1. Twilio Messaging Service Setup Please, follow the steps below to activate Twilio account. 1. ➤ Go to [https://www.twilio.com/](https://www.twilio.com/) and login to your account after signing up. ![1.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/1%283%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 2. ➤ Type **WhatsApp Senders** in the search bar. ➤ Click **WhatsApp Senders**. ![2.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/2%282%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 3. ➤ Click **New WhatsApp Sender**. ➤ Click **Buy a Number** in the **Select a Number** list. ![3.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/3%282%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 4. ➤ Select a **Country**. ➤ Click **Buy**. ![4.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/4%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 5. ➤ Type **Messaging Services** in the search bar. ➤ Click **Messaging Services**. ![5.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/5%282%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 6. ➤ Click **Create Messaging Services**. ![6.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/6%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 7. ➤ Enter a **Messaging Service Name**. ➤ Select **what you want to use Messaging Service for**. *(Create a Messaging Service for every Messaging use case you have.)* ➤ Click **Create Messaging Service**. ![7.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/7%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 8. ➤ Click **Add Senders** to add senders to messaging service. *(Select from multiple Senders like phone numbers, WhatsApp Numbers, and others. Use multiple Senders for one application or use case.)* ![8.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/8%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 9. ➤ Select **WhatsApp Number** from the **Sender Type** list. *(WhatsApp numbers are capable of 2-way (inbound and outbound) messaging with WhatsApp users from most countries.) (Businesses can apply to activate Twilio numbers for WhatsApp. Use cases and message templates must be approved by WhatsApp.)* ➤ Click **Continue**. ![9.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/9.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 10. ➤ Select the **WhatsApp Numbers**. *(You can select multiple WhatsApp numbers.)* ➤ Click **Add WhatsApp Numbers**. ![10.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/10%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 11. ➤ Click **Confirm**. ![11.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/11.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 12. ➤ Select **Sender** from Sender Pool. *(A Sender represents a channel, number type, or messaging type that can receive and send messages using the Twilio Messaging API.)* ➤ Click **Step 3: Set up integration**. ![12.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/12.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 13. ➤ Select **Send a webhook** from Incoming Messages list. *(Invoke an HTTP webhook for all incoming messages.)* ![13.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/13.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 14. ➤ Enter your **Request URL**. ➤ Enter your **Fallback URL**. *(Fallback URL is only used if the Request URL fails to respond.)* **Request and Fallback URLs are:** [https://{{YOUR_DOMAIN}}/Tobe/app/ApplicationServletexternalService=textRouter&TRUNKTYPE=TWILIOWHATSAPP&TRUNKID=service1](https://%7B%7BYOUR_DOMAIN%7D%7D/Tobe/app/ApplicationServletexternalService=textRouter&TRUNKTYPE=TWILIOWHATSAPP&TRUNKID=service1) **Note:** In these URLs, **TRUNKTYPE** is **“TWILIOWHATSAPP”**, **TRUNKID** is optional. ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ➤ Click **Step 4: Add compliance info**. ![14.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/14%281%29.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 1. ➤ Click **Complete Messaging Service Setup**. ![15.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/15.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 2. You have successfully set up a new Messaging Service. ➤ Click **View my new Messaging Service**. ![16.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/16.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 3. ➤ Copy **Messaging Service SID**. ⚠️ This is your **API key**. Please keep it for future use. ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏➤ Click **API Integration Guide**. ![17.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/17.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 1. ➤ Click **Messages**. ➤ Click **POST**. ➤ Copy **URL**. ⚠️ This is your message service **URL**. Please keep it for future use. ![18.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/18.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) 1. ➤ Click your **Console**. ➤ Copy **ACCOUNT SID**. ⚠️ This is your message service **Username**. Please keep it for future use. ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏ ‏‏‏‏‏‏‏‏➤ Copy **AUTH TOKEN**. ⚠️ This is your message service **Password**. Please keep it for future use. ![19.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/19.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) ### 2. Tegsoft Integration and Activation ### After the Twilio messaging service setup, integration parameters shall be set in Tegsoft software. Follow the steps below in Tegsoft software to set integration parameters. ![Twillio Tegsoft.png](https://cdn.document360.io/7d619985-59f1-4eeb-98a5-51b967cac580/Images/Documentation/Twillio%20Tegsoft.png?sv=2026-02-06&spr=https&st=2026-11-16T00%3A27%3A51Z&se=2026-11-16T01%3A27%3A51Z&sr=c&sp=r&sig=EEjE2Wnainn9T1FvdztQjNT%2FTmlBh1MEOuod8JA6jWA%3D) **Step 1 –** Click **CC Management** tab. **Step 2 –** Click **Contact Center Settings** tab. **Step 3 –** Click plus icon **(+)** to add new integration parameters. **Step 4 –** Set parameters. **Step 5 –** Click the **Save** button. The parameters in Step 4 are described in the table below. | Parameter | Description | | --- | --- | | Account Name | Enter an account name. | | Account Type | Select account type as **Twilio** from the list. | | URL | Enter your **URL** obtained in step 18 of the Twilio Messaging Service Setup. | | API key | Enter your **Messaging Service SID** obtained in step 17 of the Twilio Messaging Service Setup. | | Username | Enter your **ACCOUNT SID** obtained in step 19 of the Twilio Messaging Service Setup. | | Password | Enter your **AUTH TOKEN** obtained in step 19 of the Twilio Messaging Service Setup. | | Phone Number | NULL | | Is active | Click checkbox as active. | | Notes | Type your notes. | After all parameters are configured, web chat skill shall be created using the related number. • For detailed information about creating a web chat skill, please review [Web Chat Skills (Queues)](/v1/docs/web-chat-skills-queues) article. • For detailed information about Text Routing rules when creating a chat skill, please review [Text Routing Definitions](/v1/docs/text-routing-definitions) article.