> For the complete documentation index, see [llms.txt](https://docs.ochats.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ochats.io/module-tutorial/connect-to-channels/whatsapp-web.md).

# WhatsApp Web

Connecting to WhatsApp Web is as easy as scanning QR code.&#x20;

Here are some tips / important information which you should know of:

* When you connect your WhatsApp account via WhatsApp Web, it will stay connected for maximum 1 day to 12 days. Hence, if it is disconnected, please reconnect again by scanning the QR code.
* Once you have connected to your WhatsApp account via WhatsApp Web, oChats will download 100 previous messages for every contact into oChat automatically. *Yes, all of these conversation history will contribute to your data storage within oChats*.
* You may face data discrepancy across WhatsApp mobile app and WhatsApp Web. For eg, new incoming/outgoing message appears in your WhatsApp mobile app but it doesn't reflect in mobile app.
* Not **all functions** will reflect in oChats due to limitation & restriction in unofficial WhatsApp API. For eg, if any of your customer replies back to you using the **Reply** function in WhatsApp Web, it will not reflect in oChats.

  <figure><img src="/files/u8Kc7VkqeJwbPqLrX51n" alt=""><figcaption></figcaption></figure>
* Sometimes the QR code doesn't generate due to temporary downtime in unofficial WhatsApp API or QR code expired. You need to refresh the page & wait for next scanning attempts.
* If you are not able to receive WhatsApp button template, it means that our software is waiting for latest WhatsApp Button update from Google Play Store and/or Apple App Store. Once it is updated, you will be able to receive the WhatsApp button template again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ochats.io/module-tutorial/connect-to-channels/whatsapp-web.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
