Login
Authentication
Login
POST
Login
Description
Authenticate user and receive JWT tokens. Supports credentials provider with password verification.Authentication
None (public endpoint)Request Body
User email address
User password
Response
Whether the login was successful
User object with id, email, name, role, and planTier
JWT tokens (accessToken and refreshToken)
Success message
Example Request
Example Response
Error Responses
Missing email or password
Invalid credentials
Email not verified