Authorization

In order to get the JWT token, head to bitel.rest and create an account.

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.

The token lifetime is unlimited, thus the token can safely be stored in a secure location permanently.

Last updated