Log in
Starts a session with an email address and a password. No credential is needed.
POST
/_luna/auth/loginRequest body
requiredapplication/jsonemailstringrequiredpasswordstringrequiredResponses
200
The account and its new session.
tokenstringrequiredThe session token (ls_…). Send it as the bearer token.
accountAccountBriefrequiredAn account as its owner sees it.
Show propertiesHide properties
idstringrequiredemailstringrequirednamestringrequireddefault
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.