> ## Documentation Index
> Fetch the complete documentation index at: https://developers.sults.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Crie o token da API v2 do SULTS

> O passo a passo para gerar o token de acesso à API v2 do SULTS na Gestão de Tokens v2

<span className="badge-v2">API v2</span>

Todo acesso à API v2 começa por um **token** criado na **Gestão de Tokens v2**, por um usuário **administrador**:

1. Acesse `https://suamarca.sults.com.br` e faça login.
2. No painel inicial, clique no ícone **Segurança** e, no menu lateral, em **API**.
3. Abra **Gestão de Tokens v2** (caminho direto: `/seguranca/api/sults-token/2`).
4. Clique em **Criar Token**, dê um nome (dica: o nome do sistema que vai usá-lo) e informe o **e-mail de contato do desenvolvedor** responsável.
5. **Copie o token na hora**: ele é exibido **uma única vez**, com os botões Mostrar e Copiar. Perdeu? Exclua o registro e crie outro.

<Frame caption="Segurança > API: use a Gestão de Tokens v2 para esta API">
  <img src="https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=a0d15fd5326846bb357c070a57c66755" alt="Tela de Segurança > API no SULTS, com os cards de Gestão de Tokens v1 e v2" data-og-width="1916" width="1916" data-og-height="1026" height="1026" data-path="images/seguranca-api.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=280&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=04b2b4e61771ae46228bd124d01c5a09 280w, https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=560&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=d699ab517bbe4064ccdb22317476813b 560w, https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=840&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=cb415e003794528f6f613a65514f22bc 840w, https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=1100&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=73592b83c7d8103973afcceb11ae99e0 1100w, https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=1650&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=3ce05435784f232cb2b96f78d0e1002b 1650w, https://mintcdn.com/sults/-V7x2Uh2OwoLqSIk/images/seguranca-api.png?w=2500&fit=max&auto=format&n=-V7x2Uh2OwoLqSIk&q=85&s=b9709053d88a47fa1d6c1abeff57d9ba 2500w" />
</Frame>

<Warning>
  Os tokens **não são intercambiáveis**: token v2 só funciona na API v2, e token v1 só funciona na API v1. Na dúvida sobre a sua versão, veja [Qual versão eu uso?](/geral/qual-versao-eu-uso)
</Warning>

## Próximos passos

<CardGroup cols={2}>
  <Card title="Comece em 5 minutos" icon="rocket" href="/v2/quickstart">
    Use o token recém-criado na primeira chamada.
  </Card>

  <Card title="Autenticação na v2" icon="key" href="/v2/autenticacao">
    Guarda segura, rotação e um token por integração.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.