> For the complete documentation index, see [llms.txt](https://docs.xenioo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xenioo.com/basic-concepts/publishing/channels/whatsapp/opt-in-qrcode.md).

# &#x20;Opt-in QR code generation

It is possible to generate an opt-in QR code, which can be used to easily distribute and share access to the chatbot, allowing users to quickly start a conversation.

* When the **Save** button is clicked, the QR code image is automatically updated.
* Users can click on the QR code image to download it as a file for further use.
* It is possible to generate a **dynamic QR code**.\
  The QR image never changes because it encodes a **fixed URL**.\
  That URL performs a redirect to the opt-in flow.
* Once the dynamic QR code is generated, the encoded URL remains valid and continues to work for opt-in **as long as the bot or the account exists**.\
  If the bot or the account is deleted, the URL stops working.

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


---

# 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:

```
GET https://docs.xenioo.com/basic-concepts/publishing/channels/whatsapp/opt-in-qrcode.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.
