v1
latestOpenAPI 3.0.42026-08-064075233.0 KBAuthentication
Login User
Logs in user and return JWT(JSON Web Token) which can be used to make API calls. The value of the token attribute in the response body is the JWT. Note that if a user logs in again the current JWT will no longer be valid and using it for API calls will return 401(Unauthorized). In that case the user must log in again. Also note that this means a user can not be logged in from two different browsers at the same time.
If two factor authentication is used it is no longer enough to just log in a user once to get a JWT. Instead, after the first login with email and password an email is sent to the user about to login with a two factor token that needs to be included in another login request together with the email and password.
post/api/authentication/login
Request body
Example request
{
"email": "john.doe@example.com",
"twoFactorToken": "391823",
"password": "Super_Secret1234"
}Response
OK
Example response
{
"nextStep": "Complete",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiNWVkNWYwYy0yNjRmLTRiYjktOWMxOS1kNzg2YmY4NWQyMTgiLCJqdGkiOiJhNTNhNWRkMy03ZjU2LTQwNGQtOGFkNS02ODIwZTJjMGFkYzkiLCJmdWxsTmFtZSI6Ik15IFVzZXIiLCJvaWQiOiIyZjM2OWNkZC0yNWU5LTRlNjktODJjNS02MGYwM2IwMzRjNTgiLCJvcmdhbml6YXRpb24iOiJNeSBPcmdhbml6YXRpb24iLCJnbG9iYWxSb2xlIjoiTm9uZSIsInN1YnNjcmlwdGlvblR5cGUiOiJDb21tZXJjaWFsIiwicm9sZXMiOlsiVXNlciIsIlN1cGVyIFVzZXIiXSwibmJmIjoxNzI3MjU0NTc3LCJleHAiOjE3MjgxMTg1NzcsImlzcyI6IkVkZ2VEaXJlY3RvciIsImF1ZCI6IkVkZ2VEaXJlY3RvciJ9.dwCoVuaCSaTulh1FwASaNwaLx2N5L9yXhIq7aPnimpg",
"releaseNoteToDisplay": "44"
}