Authentication

We use a Bearer token to authenticate. This token will be needed in every request, to authenticate you will need to pass this token via a Authorization header.

Headers

TokenValue
AuthorizationBearer your-token

We strongly recommend that you do not test in production. If any test is necessary use the sandbox environment.

Token types

We will provide you with a sandbox token so you can perform tests:

  • Example of sandbox token: sandbox_*

After the testing you will receive a production token:

  • Example of production token: production_*

Getting your API token

To begin using your API, please generate a new token in our website, in the section “Internas”, then “API Lia”:

https://parceiro.lia.com.br/painel/ferramentas

If you have any questions, you can reach out to our sales representative, who will guide you through the process of gaining access to our API.