# User login **POST /login** ## Servers - Local development server: http://localhost:8080 (Local development server) - Production server: https://middleware.example.com/api (Production server) ## Parameters ### Body: application/json (object) - **username** (string) User login name - **password** (string(password)) User password ## Responses ### 200 Successful login #### Body: application/json (object) - **expire** (string(date-time)) - **token** (string) JWT bearer token for subsequent requests ### 401 Invalid credentials #### Body: application/json (object) - **message** (string) - **error** (string) [Powered by Bump.sh](https://bump.sh)