---
title: "Password Login"
method: POST
path: "/api/v1/auth/login"
tags: ["authentication"]
---

# Password Login

`POST /api/v1/auth/login`

## Request

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

Authenticate with a login ID or a verified email, and a password.

``login_id`` carries either an admin login ID or (#1678) the verified
email of an account that has a password — see
``resolve_password_login_user``. Every failure is the same generic 401;
an unknown identifier costs the same bcrypt work as a wrong password.
Failures count per resolved account, or per normalized identifier when
nothing resolves.

## Query parameters

- `return_to` string, nullable

## Request body

- PasswordLoginRequest: Password login request.
  - `login_id` string, required
  - `password` string, required
  - `accepted_terms` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
