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

# Login Endpoint

`POST /auth/login`

## 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/fastapi.md) · [All operations](https://skmtc.dev/nomi/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nomi/fastapi/revisions/63a2f545499c/schema)
