> 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-superadmin/redes-sociais-e-marketplaces/tiktok-superadmin.md).

# Tiktok - Superadmin

{% 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:** Super Administrador
{% endhint %}

Nesta página o Super Administrador cadastra os apps TikTok globais usados para conectar contas e acessar comentários de vídeos anunciados.

{% hint style="warning" %}
**Configuração global vs. por tenant:** os apps cadastrados aqui ficam disponíveis para todos os tenants. A conexão e o gerenciamento do número WABA de cada tenant é feito individualmente pelo Administrador em Configurações → Integrações
{% endhint %}

{% 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 Super Admin, acesse **Redes Sociais e Marketplaces → Apps TikTok**.

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2FJHbOmzpUn64bggvPNxHV%2Fimage.png?alt=media&amp;token=de541ff7-07d4-4c15-8d25-1170d647f190" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2FdC6xDix2xBlREShLR2Vw%2Fimage.png?alt=media&amp;token=793832ef-8299-4c6f-8fee-c2d13abebd0b" alt=""><figcaption></figcaption></figure>

***

#### Como configurar

1. Acesse [developers.tiktok.com](https://developers.tiktok.com/) e crie um app. [(veja o artigo passo a passo aqui)](/configuracao-superadmin/redes-sociais-e-marketplaces/como-criar-um-app-no-tiktok-for-business-developers.md)
2. Habilite os escopos `user.info.basic` e `video.list`
3. Copie o **Client Key** e o **Client Secret** para os campos abaixo
4. Cadastre o **Redirect URI** exibido no formulário no TikTok Developer Portal

***

#### Campos do formulário

**Login Kit (obrigatório)**

| Campo                             | Descrição                                                                     |
| --------------------------------- | ----------------------------------------------------------------------------- |
| **Tenant**                        | Global = todos os tenants usam esta config. Ou selecione um tenant específico |
| **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                                             |

<figure><img src="https://3541975055-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5B652UsmGn3Q7h9Du1t%2Fuploads%2F1kw9DlnQlhRmmmuKSfag%2Fimage.png?alt=media&amp;token=e0a94085-b6d5-486b-85e0-9b24119ab9e1" alt=""><figcaption></figcaption></figure>

**TikTok API for Business (opcional)**

Necessário apenas para acessar comentários de conteúdo anunciado (Ads / Spark Ads). Crie um app separado em [business-api.tiktok.com](https://business-api.tiktok.com/).

| 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" %}
**Importante:**

* O `access_token` expira em 24h — o sistema renova automaticamente via `refresh_token`
* A configuração **Global** aplica para todos os tenants que não tiverem configuração própria
  {% endhint %}

***

#### 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 — Configurações Admin](/configuracao-administrador/configuracoes-painel-admin/apps-configuracoes/tiktok-configuracao-apps.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-superadmin/redes-sociais-e-marketplaces/tiktok-superadmin.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.
