jwt_token value in the X-OTAS-USER-TOKEN header for any endpoint that requires authentication. No prior authentication is needed to call this endpoint.
The request body accepts either
password or Password (capital P) for the password field. Both keys are checked; Password takes precedence if both are present.Request
Method:POSTURL:
http://localhost:8000/api/user/v1/login/Authentication: None
Body parameters
The registered email address. Matched case-insensitively.
Account password. Also accepted as
Password (capital P).Response
1 on success, 0 on failure.login_success on success, login_failed on failure.Present only on a successful login.
Example
Error responses
status_description | HTTP status | Cause |
|---|---|---|
login_failed | 401 | Invalid credentials, missing fields, or unexpected server error. |