Endpoint
Request body
Username for the new account. Must be between 2 and 8 characters.
Password for the new account. Must be at least 6 characters long.
Response
JWT token valid for 30 days. Use this token in the
Authorization header for authenticated requests.Response format
Returns a plain text JWT token string:Error codes
409 Conflict
Username already exists. Thrown when attempting to register with a username that is already taken.Exception:
UserAlreadyExistsException400 Bad Request
Payload was malformed, or your username or password was invalid. This error can occur for several reasons:
- Username is too short (less than 2 characters) -
UsernameTooShortException - Username is too long (more than 8 characters) -
UsernameTooLongException - Password is too short (less than 6 characters) -
PasswordTooShortException - Request body is missing required fields