# Twilio

Using [Twilo ](https://www.twilio.com)you can enable ngSurvey to interact with WhatsApp respondents as such if you would like to use the [WhatsApp conversational surveys](/conversational-surveys.md) features it is mandatory to have a registered Twilio account along a Facebook Business Manager account.

## Main setup

To register for a Twilio account and setup it with WhatsApp please follow the official [Twilio / WhatsApp setup ](https://www.twilio.com/docs/whatsapp/tutorial/connect-number-business-profile) documentation.

## Callback URL

Once you have setup your Twilio account with WhatsApp you need to link ngSurvey and Twilio using a callback URL.&#x20;

1\) Find your ngSurvey callback URL in your account / [system settings](/installation-setup/system-settings.md) page.

![](/files/-MJGG2RBphWf_IiWLFgI)

2\) Copy this URL&#x20;

3\) Open the Twilio [WhatsApp Senders user interface](https://www.twilio.com/console/sms/whatsapp/senders)&#x20;

4\) Click on the Configure button on the WhatsApp number that you will use in ngSurvey

5\) Paste the callback URL that you have copied on step 2.

![](/files/-MJGKAVPHS4V8Jnn4i4Q)

6\) Click Configure. That's it! From now on Twilio will notify your ngSurvey server on each new WhatsApps messages.

## NGSurvey setup

Once you have setup Twilio the last step is to save your Twilio account settings in your ngSurvey account or [system settings](/installation-setup/system-settings/mobile-messenging/twilio.md) page, once this is done you will be ready to use your Twilio WhatsApp enabled number to start conversation with your customers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/installation-setup/installation/whatsapp-messenging/twilio-whatsapp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
