# Restrict Chat with Unknown Number

This feature allows you to manage communication strictly through verified contacts by limiting interactions with mobile numbers that are not saved in Microsoft Dynamics 365.

### **When Chat with Unknown is Disabled**&#x20;

<figure><img src="/files/dL2XeGaQIu6J3KukcRcd" alt=""><figcaption></figcaption></figure>

* Users can receive messages from unknown WhatsApp numbers.

<figure><img src="/files/cFSLvo7J5CSnOVOqGsxD" alt=""><figcaption></figcaption></figure>

* If a user clicks **Accept** when a new incoming message from an unknown number arrives, an **error message** appears on the chat UI.

<figure><img src="/files/ozRhjFgMlr6ssY6IP5gD" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/hGhI3GU54usW15x8OV2g" alt=""><figcaption></figcaption></figure>

To chat, the user must save the number in Dynamics 365.

* After that, the chat box is enabled.
* The user can now reply and continue the conversation.

<figure><img src="/files/gblyRjGZGkZMO5UFrOlP" alt=""><figcaption></figcaption></figure>

#### **When Chat with Unknown is Enabled**&#x20;

* Users can **chat with anyone**, even if the number is not saved in CRM.
* The Chat UI is **always enabled**, and no error appears.

<figure><img src="/files/aLT8XN5fYUxN9otW7zg1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sVMqaf953C4disr1yV2v" alt=""><figcaption></figcaption></figure>

This ensures secure, CRM-based messaging within the WhatsApp4Dynamics app.


---

# 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.inogic.com/whatsapp4dynamics/features/restrict-chat-with-unknown-number.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.
