> 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/apps-configuracoes/tiktok-configuracao-apps.md).

# Tiktok - Configuração Apps

{% hint style="danger" %}
**Funcionalidade em beta:** este recurso foi lançado recentemente e ainda está em fase de testes. Alguns comportamentos podem apresentar instabilidade ou não funcionar como esperado em todos os cenários. Estamos coletando feedback e aplicando melhorias e correções ao longo das próximas versões. Se encontrar algum problema, entre em contato com o suporte.
{% endhint %}

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

Esta página permite configurar credenciais TikTok próprias para o tenant, substituindo o app global definido pelo Super Administrador. Se nenhuma configuração for criada aqui, o sistema usa automaticamente o app global.

{% hint style="warning" %}
**Como funciona a API do TikTok:** a API só permite ler e responder comentários de conteúdo veiculado como anúncio (Ads / Spark Ads), via TikTok API for Business. Posts orgânicos não anunciados **não têm comentários acessíveis pela API**. O Login Kit (Client Key/Secret) habilita login e listagem de vídeos.
{% endhint %}

***

#### Como acessar

No painel administrativo, acesse **Configurações → Apps → TikTok**.

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2Fc6r07v765z1KCE3GCqxJ%2Fimage.png?alt=media&amp;token=e0fa1bd9-1f4d-4944-a4e1-2d56e40d328a" alt=""><figcaption></figcaption></figure>

***

#### Criando uma configuração

Clique em **+ Novo App TikTok** e preencha os campos:

**Login Kit (obrigatório)**

| Campo                             | Descrição                                                          |
| --------------------------------- | ------------------------------------------------------------------ |
| **Client Key**                    | Chave do app gerada no TikTok Developer Portal                     |
| **Client Secret**                 | Chave secreta do app                                               |
| **Redirect URI (OAuth callback)** | URL fixa — cadastre exatamente esta URL no TikTok Developer Portal |
| **Webhook URL**                   | URL fixa do proxy de integração — não pode ser alterada            |
| **Descrição**                     | Identificação opcional (ex.: App principal TikTok)                 |
| **Ativo**                         | Liga ou desliga esta configuração                                  |

**TikTok API for Business (opcional)**

Necessário apenas para acessar comentários de conteúdo anunciado (Ads / Spark Ads).

| Campo                   | Descrição                                 |
| ----------------------- | ----------------------------------------- |
| **Business App ID**     | ID do app de negócios (começa com `7...`) |
| **Business App Secret** | Chave secreta do app de negócios          |

{% hint style="info" %}
O `access_token` expira em 24h — o sistema renova automaticamente via `refresh_token`.
{% endhint %}

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2FXgzkKpJ2EJS1zg29zfob%2Fimage.png?alt=media&amp;token=86b682c8-84e9-413d-b176-58ed9396feb7" alt=""><figcaption></figcaption></figure>

***

#### Páginas relacionadas

* [Canal TikTok — conectar a conta TikTok ao Z-PRO](/configuracao-administrador/administracao-painel-admin/canais-de-comunicacao/canal-tiktok.md)
* [Apps TikTok — Superadmin](/configuracao-superadmin/redes-sociais-e-marketplaces/tiktok-superadmin.md)
* [Comentários Tiktok](/ferramentas-do-atendimento/comunicacao-e-marketing/redes-sociais-comentarios/comentarios-tiktok.md)

***


---

# 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/apps-configuracoes/tiktok-configuracao-apps.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.
