# User Login **POST /auth/login** Authenticates a user with email and password, returns user info and sets an HTTP-only auth cookie. ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Body: application/json (object) Login Credentials - **email** (string) - **password** (string) ## Responses ### 200 message: Login successful, user: domain.User #### Body: application/json (object) object ### 400 Invalid request data #### Body: application/json (object) - ***** (string) ### 401 Invalid email or password #### Body: application/json (object) - ***** (string) [Powered by Bump.sh](https://bump.sh)