Authentication
RouteStack uses bearer token authentication.Header format
Send your token in theAuthorization header:
Where to create tokens
In the console:Token recommendations
- create different tokens for production and testing
- rotate tokens if a key may have leaked
- apply model limits when a token should only access specific models
Common authentication errors
401 Unauthorized
Usually caused by one of the following:- the token is missing
- the token is invalid
- the token has expired
- the user behind the token is disabled
Model not available
This often means:- the token has model restrictions
- your user group cannot use that model
- the model is disabled by the platform