> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swaply.lat/llms.txt
> Use this file to discover all available pages before exploring further.

# Autenticação

> Use a chave Bearer nas chamadas feitas pelo seu servidor.

Crie, consulte ou revogue suas chaves em [Chaves de API](https://swaplyapp.shardweb.app/painel/chaves). Guarde a chave no servidor. Para conectar o SDK no navegador, envie apenas um token de sessão.

```bash theme={null}
curl https://swaplyapi.shardweb.app/v1/usage   -H "Authorization: Bearer $SWAPLY_API_KEY"
```

Uma chave ausente, inválida ou revogada retorna HTTP 401.


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