# WhatsApp Invitations

## 💬 What are WhatsApp invitation ?

WhatsApp invitations allow you to send out a message to any WhatsApp enabled number with an invitation link to your survey along a unique code to take the survey. Respondents will be able to click on the invitation link to open the browser of their mobile device to take the survey.

## 📝 Approved Message formatting

Twilio / WhatsApp only allows to send out approved messages, as such you will first need need to register your invitation message at Twilio's website. If you would link  to include the invitation link in your message you can customize the following default invitation message &#x20;

WhatsApp approved message with one parameter that will be replaced by the invitation link example.

> Hi,
>
> we would like to know your opinion about our product and services, you may share it with us using following link {1} or if you dont want to receive any further messages please follow this link {2}

ngSurvey invitation message that will send out the invitation link.

> Hi,\
> \
> we would like to know your opinion about our product and services, you may share it with us using following link localhost:8081/s/\[--surveyid-]?uid=\[--invitationid-]\&ngs\_cid=\[--campaignid-] or if you dont want to receive any further messages please follow this link localhost:8081/s/\[--surveyid-]/unsub/\[--unsubscribeid-]?bltype=1

{% hint style="danger" %}
The WhatsApp features requires to have a [Twilio.com account](/installation-setup/installation/whatsapp-messenging/twilio-whatsapp.md) with a Facebook Business Manager account and that your Twilio account is [setup](/installation-setup/system-settings.md) in your ngSurvey installation.
{% endhint %}


---

# 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/form-management/campaigns/campaign/phone-sms-distribution/whatsapp-distribution/untitled.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.
