Login

The Login utility handles user authentication by verifying their credentials and returning a session token if the credentials are valid.

circle-exclamation

API Reference

Login with given credentials.

post

Maybe Recaptcha required. Return session token if success.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
usernamestring · max: 80Optional
emailstring · emailOptional
passwordstringRequired
Responses
chevron-right
201Success
application/json
errorstring · enumOptionalPossible values:
tokenstringOptional
usernamestringOptional
user_uuidstringOptional
avatar_urlstringOptional
post
/api/user/login
201Success

Examples

Last updated