> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp

> Link your WhatsApp number and ask the Matys AI analyst questions by message.

Link your WhatsApp number to your Matys account, then message Matys like a contact. Replies arrive in the same WhatsApp conversation.

> [!NOTE]
>
> WhatsApp is not available to every workspace yet.

## Link your number

You do not type your phone number. Matys detects it from the message you send.

**1. Open the WhatsApp settings**

Go to **Settings → Integrations** and open **WhatsApp**.

**2. Generate a link**

Click **Generate link**. Matys creates a one-time link and a QR code.

**3. Send the message**

Click **Open WhatsApp**, or scan the QR code with your phone. WhatsApp opens with a pre-filled
verification message. Send it.

Matys replies that your WhatsApp is linked. The settings page then shows your masked phone number and your active organization.

The link expires after 10 minutes. Click **New link** to get a fresh one. You can generate at most 5 links per hour.

> [accordion] This number is already linked to a different account
>
> One number links to one Matys account. Ask the other person to unlink it first.

> [accordion] This link expired or was already used
>
> Each link works once. Generate a new link in **Settings → Integrations → WhatsApp** and send the
> new message.

> [accordion] Too many link attempts
>
> Wait an hour, then generate a new link.

> [accordion] Matys says your number isn't linked
>
> Messages from an unlinked number get a reply with a link to sign in and connect WhatsApp.

## Ask questions

Send your question as a normal message. Matys shows a typing indicator while it works, then sends the whole answer in one message.

Matys queries the data sources you can access in the active organization. If there are none, it tells you to set one up first. See [Data sources](/docs/data-sources.md).

### How replies look

* Each reply starts with the name of the active organization.
* The first reply of a new chat starts with a "New chat" banner.
* Replies are text. A reply longer than about 1,500 characters is cut at a paragraph and ends with a link to continue in the web app.

Matys answers one message at a time. If you send another before it replies, it asks you to send it again once it has replied.

### Chats

Your messages continue the same Matys chat. After 6 hours without a message, your next message starts a new chat. Send `/new` to start one yourself.

## Commands

Send `/help` in WhatsApp to see the list.

| Command | What it does |
| - | - |
| `/help` | Shows the list of commands. |
| `/org` | Shows your active organization. |
| `/org list` | Lists your organizations, numbered. |
| `/org <name or number>` | Switches to another organization and starts a new chat. |
| `/new` | Starts a new chat. |
| `/unlink` | Unlinks your number. Reply `/unlink confirm` to finish. |

Your active organization starts as the one you were in when you generated the link. If you lose access to it, use `/org list` to switch.

## Unlink your number

> [tab] From Matys
>
> Go to **Settings → Integrations → WhatsApp**. Click **Unlink**, then confirm.

> [tab] From WhatsApp
>
> Send `/unlink`, then `/unlink confirm`.

Unlinking removes access from that number. You can link it again at any time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.