Skip to content
English
  • There are no suggestions because the search field is empty.

Error "token not authorised"

This error indicates that the token you’re using to call the Zai API has expired or you are using an invalid credentials.

Zai uses OAuth2 for authentication. Instead of sending your username and password with every request, you first request a temporary access token (also called a Bearer Token). This token is valid for 60 minutes and must be included in the Authorization header of each API request.

If you see this error, generate a new token and try the request again.

For more details, see the Auth Credentials guide.