> For the complete documentation index, see [llms.txt](https://bitel.gitbook.io/bitel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitel.gitbook.io/bitel/authorization.md).

# Authorization

{% hint style="info" %}
In order to get the **JWT** token, head to [**bitel.res**t](https://bitel.rest) and create an account.
{% endhint %}

Bitel APIs require the client to pass the JWT token in the Authorization **HEADER**:

```
"Authorization": "Bearer YOUR_JWT_TOKEN"
```

If the token is invalid or it's not provided then the server will return 401 **Unauthorized** error.

Please refer to **Code Sample** section to see how the authorization header is implemented.

{% hint style="warning" %}
The token lifetime is unlimited, thus the token can safely be stored in a secure location permanently.
{% endhint %}
