---
title: "Log in with email + password"
method: POST
path: "/api/auth/login"
tags: ["Auth"]
---

# Log in with email + password

`POST /api/auth/login`

Validates credentials; on success sets the session cookie and returns {"status":"ok"}.

## Request body

- AuthCredentials
  - `email` string, required
  - `password` string, required

## Response `200`

OK

- AuthStatusResponse
  - `status` string, required

## Other responses

- `400` — bad request
- `401` — invalid credentials

---

[API](https://skmtc.net/agentserver/apis/agentserver-api.md) · [All operations](https://skmtc.net/agentserver/apis/agentserver-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentserver/agentserver-api/versions/e8c329825b4e/schema)
