> For the complete documentation index, see [llms.txt](https://ajuda.zdg.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.zdg.com.br/configuracao-administrador/configuracoes-painel-admin/integracoes/habilitar-uazapi.md).

# Habilitar UazAPI

{% hint style="info" %}
**Disponível para o perfil:** Administrador
{% endhint %}

O UazAPI é um serviço self-hosted que permite conectar números de WhatsApp ao Z-PRO via QR Code (API não oficial). Nesta página você cadastra as credenciais da sua instalação UazAPI para habilitar a criação de canais.

{% hint style="warning" %}
**UazAPI precisa ser instalado separadamente.** Você deve ter uma instância UazAPI rodando em um servidor antes de configurar a integração aqui. Saiba mais em [uazapi.dev](https://uazapi.dev/).
{% endhint %}

***

### Como acessar

No painel administrativo, acesse **Configurações → Integrações → UazAPI**.

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2FMmQwxH13xtBQqdirxqAU%2Fimage.png?alt=media&amp;token=1bbbe1aa-0d01-4571-9518-4b7df633030d" alt=""><figcaption></figcaption></figure>

***

### Campos da integração

| Campo          | Descrição                                                               |
| -------------- | ----------------------------------------------------------------------- |
| **URL da API** | URL base da sua instalação UazAPI — ex: `https://uazapi.suaempresa.com` |
| **Global Key** | Chave de autenticação gerada no painel da sua instalação UazAPI         |

{% hint style="info" %}
As alterações são salvas automaticamente ao sair do campo.
{% endhint %}

***

### Próximos passos

#### [Criar um canal WhatsApp UazAPI](/configuracao-administrador/administracao-painel-admin/canais-de-comunicacao/canal-whatsapp-uazapi.md)

Com as credenciais salvas, crie o canal para que as mensagens cheguem ao Z-PRO:

1. Acesse **Canais → Adicionar Canal**
2. Selecione o tipo **WhatsApp UazAPI**
3. Selecione a sessão UazAPI correspondente ao número que deseja conectar
4. Preencha o nome do canal e as configurações de atribuição (fila ou usuário)
5. Salve

A partir daí, as mensagens recebidas nesse número chegam como tickets no Z-PRO.

{% hint style="info" %}
As sessões UazAPI são gerenciadas em **Configurações → Sessões**. Cada sessão corresponde a um número de WhatsApp — escaneie o QR Code gerado para autenticar.\
→ Ver como gerenciar sessões
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.zdg.com.br/configuracao-administrador/configuracoes-painel-admin/integracoes/habilitar-uazapi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
