Auth API
Login
Changed onLogin endpoint for external addons
Authenticates a user with username/email and password, returning:
- JWT token for future authentication
- User's active API key
- User information and tier
Args: login_data: Username (or email) and password
Returns: JWT token, API key, and user information
post/api/auth/login
Request
- Base URLhttps://api.top-posters.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
unknown required
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info