---
title: "Login with email and password"
method: POST
path: "/api/auth/login"
tags: ["Auth"]
---

# Login with email and password

`POST /api/auth/login`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/auth/login`
- Auth: none declared

## Request body

- LoginDto
  - `email` string, required
  - `password` string, required

## Response `200`

- unknown

## Other responses

- `401`: Invalid credentials

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
