Log in
POST
/v1/auth/login
Authenticates a user with email and password. Returns a JWT token and sets it as an HTTP-only cookie.
Request Body
application/json
JSON "email": "string", "password": "string"
{
}
Responses
Authenticated successfully
application/json
JSON "token": "string", "user": { "balance_credits": 0, "created_at": "string", "email": "string", "email_verified": true, "id": "string", "is_active": true, "is_admin": true, "last_active_at": "string", "tier_id": "string" }
{
}