---
title: "POST /auth/login"
method: POST
path: "/auth/login"
tags: ["Authentication"]
---

# POST /auth/login

`POST /auth/login`

Login.

## Request body

- Login — Login schema model.
  - `email` string, required
  - `password` string, required
  - `localServerId` string — Optional for remote request forwards only

## Response `201`

2-factors code sent

## Other responses

- `204` — No content
- `403` — Auth fail
- `422` — Invalid schema
- `501` — Server error

---

[API](https://skmtc.net/casanet/apis/casanet-local-server.md) · [All operations](https://skmtc.net/casanet/apis/casanet-local-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casanet/casanet-local-server/versions/0f9f76cd80d5/schema)
