---
title: "Login Endpoint"
method: POST
path: "/auth/login"
tags: ["Auth"]
---

# Login Endpoint

`POST /auth/login`

## Request

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

## Request body

- UserLogin
  - `email` string, email, required
  - `password` string, required

## Response `200`

Successful Response

- AccessTokenResponse
  - `user_id` string, uuid, required
  - `access_token` string, required
  - `access_expires` integer, required
  - `refresh_token` string, required
  - `refresh_expires` integer, required
  - `token_type` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nomi/apis/nomi-api.md) - [All operations](https://skmtc.dev/nomi/apis/nomi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nomi/apis/nomi-api/revisions/63a2f545499c?raw)
